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

# NOTE: only intended for internal use and not part of the API
P <- prop.table(matrix(runif(9), ncol = 3), 1)
tricolore:::TernaryLimits(P)


tricolore documentation built on June 22, 2024, 12:16 p.m.