Blog Archives

User Request – Shepards Classification of Sediments

July 25, 2014
By
User Request – Shepards Classification of Sediments

I received a request overnight on how to render the Shepard’s classification diagram, which is an alternative to the USDA’s textural soil classification. This is quite simple to produce (albeit a little tedious), however, before I walk through the script, immediately below, please see the final result (which you can compare to an original). The The post

Read more »

User Request – Disable Limiting Region

June 16, 2014
By
User Request – Disable Limiting Region

The other week a user of ggtern ran into a problem where they wanted to use the limit_tern(...) functionality, however there were a few marginal points / paths that extended beyond the limiting region. Under normal circumstances, the standard ggtern behaviour is to strip these points, which can interfere with the desired outcome if they The post

Read more »

ggtern 1.0.3.2 on CRAN

June 3, 2014
By

An update to ggtern, version 1.0.3.2, is now available on CRAN! This version includes a number of bug fixes: Added convenience functions, and global options for modifying the length of the ternary arrows easily. Fixed broken ggsave function, which was not using the local print function. Fixed geom_errorbarR reference in geom_errorbarT and geom_errorbarL aesthetic check. The post

Read more »

New Geometry – Ternary Errorbars

February 2, 2014
By
New Geometry – Ternary Errorbars

ggtern 1.0.3.1 has introduced a new series of geometries to represent known errors in data, they are relatively easy to use and are along the lines of the geom_errorbar(...) and geom_errorbarh(...) geometries in ggplot2. Analagous the errorbars in ggplot2, in ggtern, the new geometries are thus listed as follows: geom_errorbarT(…) [Tmin,… The post New...

Read more »

ggtern 1.0.3.1 on CRAN

February 1, 2014
By

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… The post ggtern...

Read more »

USDA Textural Soil Classification

January 15, 2014
By
USDA Textural Soil Classification

Included in the next version (1.0.3.1) of ggtern, will be a new data set, taken from the USDA Textural Soil Classification which we can use to reproduce the original diagram published by the United Stated Department of Agriculture. Firstly let us load the packages and data: Reconstructing the USDA’s Original Plot Now let us construct… The post USDA...

Read more »

User Request – Middle Segments

January 9, 2014
By
User Request – Middle Segments

Recently, a user of ggtern was desirable to produce a plot similar to what can be found HERE. This is relatively simple, given the use of layers during plot construction. In ggplot2 (and hence ggtern), one can define a 'global' dataframe in the constructor, which gets picked up by each layer, UNLESS one states an… The post User...

Read more »

ggtern 1.0.2.0 on CRAN

January 4, 2014
By

An update to ggtern, version 1.0.2.0, is now available on CRAN! This version includes a number of updates, and, additional functionality, which can be summarized below: Better Documentation Theme commands were brought back inline with the ggplot2 format, for example, theme_tern_bw() has been superceded by theme_bw() as per ggplot2 The default theme (theme_gray()) was modified… The post ggtern...

Read more »

ggtern 1.0.1.3 on CRAN

December 18, 2013
By

ggtern is now available on CRAN!   Since this was my first official package in R, I was pleasantly surprised at the rigour demonstrated by the volunteers in enforcing the many quality control standards! CRAN Landing Page for ggtern: The...

Read more »

New Geometry – Confidence Regions

December 17, 2013
By
New Geometry – Confidence Regions

geom_confidence(…) One of the first suggestions that was presented to me, was by Sean Mulcahy, whom suggested that it would be a good idea to consider confidence regions, as presented HERE. I am plesed to say that a new geometry (geom_confidence) has been created, and, is available since version 1.0.1.1, continue reading for a couple… The post New...

Read more »