R: Perturbation and powering

perturbation {robCompositions} | R 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)

[Package robCompositions version 2.3.1 Index]