powered by
Calculates Aitchison's additive logratio transformation for a dataset of class compositional or a compositional data matrix.
compositional
ALR(x, ...)# S3 method for default ALR(x, inverse = FALSE, ...)# S3 method for compositional ALR(x, ...)
# S3 method for default ALR(x, inverse = FALSE, ...)
# S3 method for compositional ALR(x, ...)
a matrix of ALR coordinates OR an object of class
compositional (if inverse=TRUE).
inverse=TRUE
an object of class compositional OR a matrix of numerical values
optional arguments
perform the inverse inverse logratio transformation?
# logratio plot of trace element concentrations: data(Namib) alr <- ALR(Namib$Trace) pairs(alr[,1:5]) title('log(X/Pb)')
Run the code above in your browser using DataLab