Description Usage Arguments Details Author(s) See Also
Tri-axial data will be collapsed into a two-dimensional space, within an isoceles triangle.
1 | xyz2ternary(X, col.x = 1, are.percents = TRUE)
|
X |
object to be projected |
col.x |
numeric; the column to set as the 1-axis |
are.percents |
logical; are the values in |
The projection goes as
x'_{i} = x_{j} + x_{k}/2
x'_{j} = √(3) x_{k} / 2
where x is the data in original axis system. This assumes a normalization where ∑ x = 1
Andrew J. Barbour <andy.barbour@gmail.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.