powered by
Create an object of class ternary
ternary
ternary(X, x = 1, y = 2, z = 3)
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)
SRDcorrected
restoration: a list of intermediate ternary compositions inherited from the SRD correction
an object of class compositional OR a matrix or data frame with numerical data
compositional
string/number or a vector of strings/numbers indicating the variables/indices making up the first subcomposition of the ternary system.
second (set of) variables
third (set of) variables
restore
data(Namib) tern <- ternary(Namib$PT,c('Q'),c('KF','P'),c('Lm','Lv','Ls')) plot(tern,type="QFL")
Run the code above in your browser using DataLab