Learn R Programming

robCompositions (version 1.6.3)

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, ...)
ternaryDiagLines(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[,1:3]
ternaryDiag(x, grid=FALSE)
ternaryDiagPoints(x+1, col="red", pch=2)

Run the code above in your browser using DataLab