points.ternary {provenance}R Documentation

Ternary point plotting

Description

Add points to an existing ternary diagram

Usage

## S3 method for class 'ternary'
points(x, ...)

Arguments

x

an object of class ternary, or a three-column data frame or matrix

...

optional arguments to the generic points function

Examples

tern <- ternary(Namib$PT,'Q',c('KF','P'),c('Lm','Lv','Ls'))
plot(tern,pch=21,bg='red',labels=NULL)
# add the geometric mean composition as a yellow square:
gmean <- ternary(exp(colMeans(log(tern$x))))
points(gmean,pch=22,bg='yellow')

[Package provenance version 4.3 Index]