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

1 | ```
alr(X, divisorvar)
``` |

`X` |
numeric data frame or matrix |

`divisorvar` |
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.

1 2 |

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

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

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