An R Package for Creating Ternary Plots

Plots ternary diagrams using the standard graphics functions. An alternative to 'ggtern', which uses the 'ggplot2' family of plotting functions.


Project Status: Inactive. Build Status CRAN Status Badge CRAN Downloads

'Ternary' is an R package that allows the creation of ternary plots (a.k.a. ternary graphs / simplex plots / Gibbs triangles / de Finetti diagrams) using the familiar functions of the default 'graphics' package.

Usage instructions can be viewed here.

Please let me know of any feature requests or bugs by opening an issue on GitHub.

Citation

You can cite this package as:

Smith, Martin R. (2017). Ternary: An R Package for Creating Ternary Plots. Zenodo, doi: 10.5281/zenodo.1068996.

See also

The R package 'ggtern' implements ternary plots within the 'ggplot2' framework.

News

Ternary v1.1.0

New features

  • Add support for contour plots and density shading.

Bug fixes

  • Maintain isometry when one of xlim or ylim is specified.
  • Fix issues with TernaryPlot documentation.
  • Remove names in TernaryCoords.

Ternary v1.0.2

  • Improve configuration options by allowing:
    • Custom colouration of axis text;
    • Modification of axis tick length.

Ternary v1.0.1

  • Plot minor lines between grid lines, with options to customise appearance.
  • Document magnification options.

Ternary v1.0.0

  • Add function JoinTheDots to plot lines and points simultaneously.
  • Support xlim & ylim for TernaryPlot.
  • Choose direction of plot using new point parameter.
  • Allow labelling of tips and of sides (alab becomes atip).
  • Improved control over labelling of plot (clab.rotate parameter).
  • Improve documentation.

Ternary v0.1.1

  • Added colour-blind compatible colour palettes cbPalette8 and cbPalette15.
  • Support lab.font in TernaryPlot.

Ternary v0.1.0

  • Generates ternary plots with vertical left axis.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("Ternary")

1.1.0 by Martin R. Smith, a month ago


https://ms609.github.io/Ternary


Report a bug at https://github.com/ms609/Ternary/issues


Browse source code at https://github.com/cran/Ternary


Authors: Martin R. Smith [aut, cre, cph]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports viridisLite

Suggests knitr, rmarkdown, testthat


Imported by CongreveLamsdell2016, Quartet, cocktailApp.

Depended on by plot3logit.


See at CRAN