clr {chemometrics} | R Documentation

## centered logratio transformation

### Description

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

### Usage

    clr(X)

### Arguments

`X` | numeric data frame or matrix

### 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.

### Value

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

### Author(s)

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

### References

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

### See Also

`alr`,`ilr`

### Examples

    data(glass)
    glass_clr <- clr(glass)

[Package chemometrics version 0.6 Index]