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

View source: R/ternaryDiagPoints.R

ternaryDiagPointsR Documentation

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.

Author(s)

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


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


matthias-da/robCompositions documentation built on Jan. 15, 2024, 11:24 p.m.