points.ternary: Ternary point plotting

View source: R/ternary.R

points.ternaryR 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')

pvermees/provenance documentation built on Feb. 5, 2024, 4:50 a.m.