The Box-Cox transformation applied to ratios of components: The Box-Cox transformation applied to ratios of components
Description
The Box-Cox transformation applied to ratios of components.
Usage
bc(x, lambda)
Arguments
x
A matrix with the compositional data. The first component must be zero values free.
lambda
The value of the power transformation, it has to be between -1 and 1. If zero values are present it has to
be greater than 0. If \(\lambda=0\) the additive log-ratio transformation (alr) is applied.
Value
A matrix with the transformed data.
Details
The Box-Cox transformation applied to ratios of components, as described in Aitchison (1986) is applied.
References
Aitchison J. (1986). The statistical analysis of compositional data. Chapman & Hall.