Learn R Programming

robCompositions (version 2.4.1)

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, ...)

Value

no values are returned.

Arguments

x

Three-dimensional composition given as an object of class “matrix” or “data.frame”.

...

Additional graphical parameters passed through.

Author

Matthias Templ

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