chemometrics (version 1.4.2)

clr: centered logratio transformation

Description

A data transformation according to the centered logratio transformation is done.

Usage

clr(X)

Value

Returns the transformed data matrix with the same dimension as X.

Arguments

X

numeric data frame or matrix

Author

Peter Filzmoser <P.Filzmoser@tuwien.ac.at>

Details

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.

References

K. Varmuza and P. Filzmoser: Introduction to Multivariate Statistical Analysis in Chemometrics. CRC Press, Boca Raton, FL, 2009.

See Also

alr,ilr

Examples

Run this code
data(glass)
glass_clr <- clr(glass)

Run the code above in your browser using DataLab