clr | R Documentation |
A data transformation according to the centered logratio transformation is done.
clr(X)
X |
numeric data frame or matrix |
The clr 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 the same dimension as X.
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.
alr
,ilr
data(glass)
glass_clr <- clr(glass)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.