[R] Ternary or Triangular Plots (soil texture triangle plot)?

Gregory Snow Greg.Snow at intermountainmail.org
Mon Apr 3 19:42:08 CEST 2006


There is also the triplot function in the TeachingDemos package that
does some of what you want (but always shows the full range 0 to 1 on
all axes).

I expect that each of the implementations out there does part of what
you want and you may need to find which will come closest, or find which
is easiest to modify to do all the things you want.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at intermountainmail.org
(801) 408-8111
 
 

> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch 
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Dan Bolser
> Sent: Monday, April 03, 2006 7:41 AM
> To: r-help at stat.math.ethz.ch
> Subject: [R] Ternary or Triangular Plots (soil texture triangle plot)?
> 
> 
> Hi,
> 
> I am trying to create a triangular plot to show the 
> 'composition' of a set of items with three variables 
> (historically the percent sand, silt and clay in soil).
> 
> So far I have tried the 'soil texture triangle plot' in the 
> package plotrix and the 'ternary or triangular plots' in the 
> package cwhtool (cwhmisc). Both have strengths and 
> weaknesses, but neither has a 'standard' or 'generic'  feel about it.
> 
> To save myself time I would like to ask the list if there is 
> a preferred or standard implementation of the triangle plot 
> that will let me,
> 
> * Label the three axes
> * Specify a range for the three axis
> * Label each point with a string
> * Add lines perpendicular to each axis
> 
> Or in general if there is an implementation of the triangle 
> plot which supports the standard plotting options.
> 
> Thanks very much for any pointers,
> 
> Dan.
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
>




More information about the R-help mailing list