Learn R Programming

robCompositions (version 2.0.0)

ternaryDiagPoints: Add points or lines to a given ternary diagram.

Description

Low-level plot function to add points or lines to a ternary high-level plot.

Usage

ternaryDiagPoints(x, ...)

Arguments

x
Three-dimensional composition given as an object of class “matrix” or “data.frame”.
...
Additional graphical parameters passed through.

Value

no values are returned.

References

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.

See Also

ternaryDiag

Examples

Run this code

data(coffee)
x <- coffee[,2:4]
ternaryDiag(x, grid=FALSE)
ternaryDiagPoints(x+1, col="red", pch=2)

Run the code above in your browser using DataLab