pow: Power operation

View source: R/pow.R

Power operationR Documentation

Power operation

Description

Power operation.

Usage

pow(x, a)

Arguments

x

A matrix with the compositional data.

a

Either a vector with numbers of a single number.

Details

This is the power operation defined by Aitchison (1986). It is also the starting point of the \alpha-transformation.

Value

A matrix with the power transformed compositional data.

Author(s)

Michail Tsagris.

R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.

References

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

See Also

perturbation, alfa

Examples

x <- as.matrix(iris[1:15, 1:4])
a <- runif(1)
pow(x, a)

Compositional documentation built on Oct. 23, 2023, 5:09 p.m.