首页    期刊浏览 2024年12月03日 星期二
登录注册

文章基本信息

  • 标题:ggtern: Ternary Diagrams Using ggplot2
  • 本地全文:下载
  • 作者:Nicholas E. Hamilton ; Michael Ferry
  • 期刊名称:Journal of Statistical Software
  • 印刷版ISSN:1548-7660
  • 电子版ISSN:1548-7660
  • 出版年度:2018
  • 卷号:87
  • 期号:1
  • 页码:1-17
  • DOI:10.18637/jss.v087.c03
  • 语种:English
  • 出版社:University of California, Los Angeles
  • 摘要: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.
  • 其他关键词:plotting software;ternary diagrams;R;ggplot2
国家哲学社会科学文献中心版权所有