A data transformation according to the additive logratio transformation is done.
numeric data frame or matrix
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.