ggtern on CRAN

February 1, 2014

(This article was first published on ggtern: ternary diagrams in R, and kindly contributed to R-bloggers)

An update to ggtern, version, 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 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. offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.


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)