lines.ternary: Ternary line plotting

Description Usage Arguments Examples

View source: R/ternary.R

Description

Add lines to an existing ternary diagram

Usage

1
2
## 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

1
2
3
4
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))

provenance documentation built on May 5, 2021, 1:06 a.m.