首页 / 资料库 / 文献详情

<b>ggtern</b>: Ternary Diagrams Using <b>ggplot2</b>

Nicholas E. HamiltonMichael Ferry

2018Journal of Statistical SoftwareComputer Science被引 510开放获取

出版方页面 →

摘要

This paper presents the ggtern package for R, which has been developed for the rendering of ternary diagrams. Based on the well-established ggplot2 package (Wickham 2009), the present package adopts the familiar and convenient programming syntax of its parent. We demonstrate that ggplot2 can be used as the basis for producing specialized plotting packages and, in the present case, a package has been developed specifically for the production of high quality ternary diagrams. In order to produce ggtern, it was necessary to overcome a number of design issues, such as finding a means to modify existing geometries designed for a 2D Cartesian coordinate system and permitting them to function in an environment that requires an additional spatial aesthetic mapping. In the present paper, we provide examples of this package in its most basic form followed by a demonstration of its ease of use, particularly if one is familiar with, and has a predilection towards using ggplot2 on a regular basis.

引用本文(GB/T 7714)

Nicholas E. Hamilton, Michael Ferry. <b>ggtern</b>: Ternary Diagrams Using <b>ggplot2</b>[J]. Journal of Statistical Software, 2018.

引文网络

参考文献与被引分析加载中…

DOI:https://doi.org/10.18637/jss.v087.c03

本站仅收录题录与摘要供学习参考,全文版权归属出版方;如有侵权请联系我们删除。