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 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 are part of a continuous path or polygon etc…
An update to ggtern, version 1.0.3.2, is now available on CRAN!
This version includes a number of bug fixes:
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:
More…
CRAN, Diagrams, plot, published, R, Ternary, ternary diagrams, update
Included in the next version (1.0.3.1) of ggtern, will be a new data set, taken from the USDA Textural Soil Classification[1] which we can use to reproduce the original diagram published by the United Stated Department of Agriculture.
@Book{usda,
Title = {Soil Mechanics Level 1, Module 3, USDA Textural Classification Study Guide},
Author = {Unknown-Author},
Publisher = {United States Department of Agriculture},
Year = {1987},
Owner = {Nick Hamilton},
Timestamp = {20140116}
}
classification, Diagrams, Featured, plot, R, soil, Ternary, ternary diagrams, United States Department of Agriculture, usda
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.
Diagrams, geometry, layers, plot, R, segments, Ternary, ternary diagrams
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 of examples.
confidence regions, Diagrams, feldspar, plot, R, Sean Mulcahy, Ternary, ternary diagrams