perturbation | R Documentation |
Perturbation and powering for two compositions.
perturbation(x, y)
powering(x, a)
x |
(compositional) vector containing positive values |
y |
(compositional) vector containing positive values or NULL for powering |
a |
constant, numeric vector of length 1 |
Result of perturbation or powering
Matthias Templ
Aitchison, J. (1986) The Statistical Analysis of Compositional Data Monographs on Statistics and Applied Probability. Chapman and Hall Ltd., London (UK). 416p.
data(expenditures)
x <- expenditures[1 ,]
y <- expenditures[2, ]
perturbation(x, y)
powering(x, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.