perturbation: Perturbation and powering

Description Usage Arguments Value Author(s) References Examples

View source: R/perturbation.R

Description

Perturbation and powering for two compositions.

Usage

1
2
3
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

1
2
3
4
5

Example output

Loading required package: robustbase
Loading required package: ggplot2
Loading required package: data.table
Loading required package: e1071
Loading required package: pls

Attaching package: 'pls'

The following object is masked from 'package:stats':

    loadings

sROC 0.1-2 loaded

Attaching package: 'robCompositions'

The following object is masked from 'package:robustbase':

    alcohol

    housing foodstuffs    alcohol     other   services
1 0.5900467 0.08131171 0.03877559 0.1983105 0.09155557
    housing foodstuffs    alcohol      other   services
1 0.6761642  0.1775988 0.03567195 0.04714826 0.06341681

robCompositions documentation built on Jan. 13, 2021, 10:07 p.m.