perturbation: Perturbation and powering

View source: R/perturbation.R

perturbationR Documentation

Perturbation and powering

Description

Perturbation and powering for two compositions.

Usage

perturbation(x, y)

powering(x, a)

Arguments

x

(compositional) vector containing positive values

y

(compositional) vector containing positive values or NULL for powering

a

constant, numeric vector of length 1

Value

Result of perturbation or powering

Author(s)

Matthias Templ

References

Aitchison, J. (1986) The Statistical Analysis of Compositional Data Monographs on Statistics and Applied Probability. Chapman and Hall Ltd., London (UK). 416p.

Examples

data(expenditures)
x <- expenditures[1 ,]
y <- expenditures[2, ]
perturbation(x, y)
powering(x, 2)

robCompositions documentation built on Aug. 25, 2023, 5:13 p.m.