alr: additive logratio transformation

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

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

Usage

1
alr(X, divisorvar)

Arguments

X

numeric data frame or matrix

divisorvar

number of the column of X for the variable to divide with

Details

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.

Value

Returns the transformed data matrix with one variable (divisor variable) less.

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

clr,ilr

Examples

1
2
data(glass)
glass_alr <- alr(glass,1)


chemometrics documentation built on May 19, 2017, 7:46 a.m.
Search within the chemometrics package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.