lines.ternary: Ternary line plotting

View source: R/ternary.R

lines.ternaryR Documentation

Ternary line plotting

Description

Add lines to an existing ternary diagram

Usage

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

Arguments

x

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

...

optional arguments to the generic lines function

Examples

tern <- ternary(Namib$PT,'Q',c('KF','P'),c('Lm','Lv','Ls'))
plot(tern,pch=21,bg='red',labels=NULL)
middle <- matrix(c(0.01,0.49,0.01,0.49,0.98,0.02),2,3)
lines(ternary(middle))

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