Power operation | R Documentation |
Power operation.
pow(x, a)
x |
A matrix with the compositional data. |
a |
Either a vector with numbers of a single number. |
This is the power operation defined by Aitchison (1986). It is also the starting point of the \alpha
-transformation.
A matrix with the power transformed compositional data.
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
Aitchison J. (1986). The statistical analysis of compositional data. Chapman & Hall.
Tsagris M.T., Preston S. and Wood A.T.A. (2011). A data-based power transformation for compositional data. In Proceedings of the 4th Compositional Data Analysis Workshop, Girona, Spain. http://arxiv.org/pdf/1106.1451.pdf
perturbation, alfa
x <- as.matrix(iris[1:15, 1:4])
a <- runif(1)
pow(x, a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.