ternary {provenance} | R Documentation |
Define a ternary composition
Description
Create an object of class ternary
Usage
ternary(X, x = 1, y = 2, z = 3)
Arguments
X |
an object of class |
x |
string/number or a vector of strings/numbers indicating the variables/indices making up the first subcomposition of the ternary system. |
y |
second (set of) variables |
z |
third (set of) variables |
Value
an object of class ternary
, i.e. a list containing:
x: a three column matrix (or vector) of ternary compositions.
and (if X is of class SRDcorrected
)
restoration: a list of intermediate ternary compositions inherited from the SRD correction
See Also
restore
Examples
data(Namib)
tern <- ternary(Namib$PT,c('Q'),c('KF','P'),c('Lm','Lv','Ls'))
plot(tern,type="QFL")
[Package provenance version 4.3 Index]