[R] A ternary graph's scales
nyggus at gmail.com
Thu Sep 4 18:26:08 CEST 2008
Thank you, Greg. After all I noticed that in ternaryplot it can be
easily made by setting a 'scale' parameter.
On Thu, Sep 4, 2008 at 6:00 PM, Greg Snow <Greg.Snow at imail.org> wrote:
> There is also the tri function in the cwhtool package, triax.plot in the plotrix package, and triplot in the TeachingDemos package (I think it is between this plot and progress bars as to what functionality is reproduced in the most packages). One of the others may do what you want, or be modifiable to do what you want.
> The triplot (TeachingDemos) does not put scales on by default, but does had an 'add' argument that could possibly be used to add scales after the fact, or the code is fairly short and simple to see what the transformation is to add scale manually.
> Hope this helps,
> Gregory (Greg) L. Snow Ph.D.
> Statistical Data Center
> Intermountain Healthcare
> greg.snow at imail.org
> (801) 408-8111
>> -----Original Message-----
>> From: r-help-bounces at r-project.org
>> [mailto:r-help-bounces at r-project.org] On Behalf Of Marcin Kozak
>> Sent: Thursday, September 04, 2008 8:34 AM
>> To: r-help at r-project.org
>> Subject: [R] A ternary graph's scales
>> Hi all,
>> I am drawing a ternary graph. Everything is fine with both
>> ternaryplot (package vcd) and triangle.plot (package ade4),
>> but I want to present scales in neither percents nor from 0
>> to 1 (this is actually the only option I found in both
>> functions). I want the scales to be in a natural scale (from
>> 0 to k, k being the number of objects). Is it at all
>> possible? (Descriptions of both functions do not mention this
>> "Build up your weaknesses until they become your strong
>> points" -- Knute Rockne
>> R-help at r-project.org mailing list
>> PLEASE do read the posting guide
>> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help