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 [EMAIL PROTECTED] (801) 408-8111 > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Dan Bolser > Sent: Monday, April 03, 2006 7:41 AM > To: [email protected] > 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. > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
