ALR | R Documentation |
Calculates Aitchison's additive logratio transformation for a
dataset of class compositional
or a compositional data
matrix.
ALR(x, ...)
## Default S3 method:
ALR(x, inverse = FALSE, ...)
## S3 method for class 'compositional'
ALR(x, ...)
x |
an object of class |
... |
optional arguments |
inverse |
perform the inverse inverse logratio transformation? |
a matrix of ALR coordinates OR an object of class
compositional
(if inverse=TRUE
).
# logratio plot of trace element concentrations:
data(Namib)
alr <- ALR(Namib$Trace)
pairs(alr[,1:5])
title('log(X/Pb)')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.