ggtern 1.0.3.1 on CRAN

[This article was first published on ggtern: ternary diagrams in R, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

An update to ggtern, version 1.0.3.1, is now available on CRAN!

This version includes a number of updates and functionality, which can be summarized below:

  • Inclusion of USDA Soil Classification Data, accessed by: data(USDA)
  • Creation of New geometries for ternary errorbars, ie, geom_errorbarT, geom_errorbarL and geom_errorbarR
  • Creation of convenience functions (theme_showtitles and theme_hidetitles) for hiding or showing the apex titles
  • Creation of convenience functions (theme_showlabels and theme_hidelabels) for hiding or showing the axis ticklabels
  • Convenience function for the setting of the ternary arrow baseline (theme_arrowbaseline(value))
  • Better handling of convenience functions for hiding (and showing which is new) major or minor gridlines


Further improvements include:

  • Improvement on arrow positioning relative to ticks and axis labels.
  • Removal of grid elements for existing axes (ie not just using blank elements)
  • Creation of theme_minimal, equivalent to the ggplot2 version.
  • Creation of theme_classic, equivalent to the ggplot2 version.
  • Creation of ggtern.multi function, for arranging multiple plots.
  • Changed the default mapping T=y, L=x and R=z, since it is likely that people new to ternary plots will find this more intuitive, created global options so this can be modified.
  • Modified logic so that T, L and R ALWAYS relate to the Top, Left and Right apex, regardless of assignment in coord_tern(…).
  • Documentation Improvements and Several Bug Fixes.

The post ggtern 1.0.3.1 on CRAN appeared first on ggtern: ternary diagrams in R.

To leave a comment for the author, please follow the link and comment on their blog: ggtern: ternary diagrams in R.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)