ternary | R Documentation |
Create an object of class ternary
ternary(X, x = 1, y = 2, z = 3)
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 |
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
restore
data(Namib)
tern <- ternary(Namib$PT,c('Q'),c('KF','P'),c('Lm','Lv','Ls'))
plot(tern,type="QFL")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.