xyz2ternary: Convert triaxial data to biaxial.

Description Usage Arguments Details Author(s) See Also

Description

Tri-axial data will be collapsed into a two-dimensional space, within an isoceles triangle.

Usage

1
xyz2ternary(X, col.x = 1, are.percents = TRUE)

Arguments

X

object to be projected

col.x

numeric; the column to set as the 1-axis

are.percents

logical; are the values in X percentages [0,100] ?

Details

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

Author(s)

Andrew J. Barbour <andy.barbour@gmail.com>

See Also

sand_silt_clay, hydrogeo.p


abarbour/hydrogeo documentation built on May 10, 2019, 4:06 a.m.