tri {cwhmisc} | R Documentation |
plotCI
plots in a triangle the values of three variables. Useful for mixtures
(chemistry etc.).
tri(a, f, m, symb=2, grid=FALSE, ...)
a |
Vector of first variable. |
f |
Vector of second variable. |
m |
Vector of third variable. |
symb |
Symbol to be plotted |
grid |
Plot the grid: TRUE or FALSE |
... |
Additional parameters for plot |
The function tri
is called for its side effect to produce a
plot. codetrigrid is internal to tri
.
Colin Farrow Computing Service, University of Glasgow, Glasgow G12 8QQ Tel: 0141 330 4862, c.farrow@compserv.gla.ac.uk
# some random data in three 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=TRUE)