View source: R/ternaryDiagPoints.R
ternaryDiagPoints | R Documentation |
Low-level plot function to add points or lines to a ternary high-level plot.
ternaryDiagPoints(x, ...)
x |
Three-dimensional composition given as an object of class “matrix” or “data.frame”. |
... |
Additional graphical parameters passed through. |
no values are returned.
Matthias Templ
C. Reimann, P. Filzmoser, R.G. Garrett, and R. Dutter: Statistical Data Analysis Explained. Applied Environmental Statistics with R. John Wiley and Sons, Chichester, 2008.
ternaryDiag
data(coffee)
x <- coffee[,2:4]
ternaryDiag(x, grid=FALSE)
ternaryDiagPoints(x+1, col="red", pch=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.