ternaryplot | R Documentation |
Function ternaryplot
accepts a matrix of three part compositions or non-negative
counts and presents these in a ternary diagram.
ternaryplot(X, vertexlab = colnames(X), vertex.cex = 1, pch = 19, addpoints = TRUE,
grid = FALSE, gridlabels = TRUE, ...)
X |
A matrix of counts or compositions with three columns |
vertexlab |
Labels for the vertices of the tenary diagram |
vertex.cex |
Character expansion factor for vertex labels |
pch |
Plotting character for the compositions |
addpoints |
Show the compositions |
grid |
Place a grid over the ternary diagram |
gridlabels |
Place grid labels or not |
... |
Additional arguments for the |
NULL
Jan Graffelman (jan.graffelman@upc.edu)
data("Artificial")
Xsim.com <- Artificial$Xsim.com
colnames(Xsim.com) <- paste("X",1:3,sep="")
ternaryplot(Xsim.com)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.