TernaryLimits: Return the Limits of Ternary Coordinates

TernaryLimitsR Documentation

Return the Limits of Ternary Coordinates

Description

Return the Limits of Ternary Coordinates

Usage

TernaryLimits(P, na.rm = TRUE)

Arguments

P

n by 3 matrix of ternary coordinates [p1, p2, p3](i) for i=1,...,n.

na.rm

Should NAs be removed? (default=TRUE)

Value

A 2 by 3 matrix of lower and upper limits for p1, p2 and p3.

Examples

P <- prop.table(matrix(runif(9), ncol = 3), 1)
tricolore:::TernaryLimits(P)


jschoeley/tricolore documentation built on Feb. 3, 2024, 4:33 a.m.