TernaryLimits: Return the Limits of Ternary Coordinates

Description Usage Arguments Value Examples

Description

Return the Limits of Ternary Coordinates

Usage

1
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

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

tricolore documentation built on April 28, 2020, 5:10 p.m.