alr | R Documentation |
A data transformation according to the additive logratio transformation is done.
alr(X, divisorvar)
X |
numeric data frame or matrix |
divisorvar |
number of the column of X for the variable to divide with |
The alr transformation is one possibility to transform compositional data to a real space. Afterwards, the transformed data can be analyzed in the usual way.
Returns the transformed data matrix with one variable (divisor variable) less.
Peter Filzmoser <P.Filzmoser@tuwien.ac.at>
K. Varmuza and P. Filzmoser: Introduction to Multivariate Statistical Analysis in Chemometrics. CRC Press, Boca Raton, FL, 2009.
clr
,ilr
data(glass)
glass_alr <- alr(glass,1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.