[R] re:Ternary Plots

About this list Date view Thread view Subject view Author view

From: c.farrow@compserv.gla.ac.uk
Date: Tue 20 Mar 2001 - 20:34:45 EST


Message-Id: <200103201030.f2KAU7m10880@lenzie.cent.gla.ac.uk>


('BINARY' encoding is not supported, stored as-is)


David,
Greetings from the west coast!

Here is my ternary or triangular diagram function.
Geologists use them a lot too.

Usage is as follows

# some random data in thre variables
c1<- runif(5, 10, 20)
c2<- runif(5, 1, 5)
c3 <- runif(5, 15, 25)
# basic plot
tri(c1,c2,c3)
# plot with different symbols and a grid
tri(c1,c2,c3, symb=7, grid=T)

Hope this helps,

Colin.

> Does anybody know about ternary (tertiary?) plotting functions for R -
> they're triangular things used much beloved by chemists for plotting
> compositional data.

-- 
Colin Farrow
Computing Service, University of Glasgow, Glasgow G12 8QQ
Tel: 0141 330 4862, c.farrow@compserv.gla.ac.uk


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2b30 : Fri 22 Jun 2001 - 18:58:36 EST