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

Aitchison's additive log ratio tranformation for compositional data

1 |

`form` |
a formula which specifies the denominator variable as the response |

`data` |
a data frame in which the data is stored |

`group` |
if not NULL then a character string specifying the name of the grouping variable |

This function will give a warning if zeros are present because the transformed data will have -Infs.

a data frame with the ALR transformation applied to data. Each row in the data frame is standardized with respect to a specific variable by dividing by that variable. The logarithms of the resulting ratios are returned. If a grouping variable is specified, then this is preserved.

James M. Curran

Aitchison, J. (1986). “The Statistical Analysis of Compositional Data”, Chapman and Hall, reprinted in 2003 with additional material by The Blackburn Press

clr

1 2 3 4 5 6 7 8 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.