PowerScale: Compositional Powering

PowerScaleR Documentation

Compositional Powering

Description

Raise a compositional data-set to a given power.

Usage

PowerScale(P, scale = 1)

Arguments

P

n by m matrix of compositions p1, ..., pm_i for i=1,...,n.

scale

Power scalar.

Value

n by m numeric matrix of powered compositions.

References

Pawlowsky-Glahn, V., Egozcue, J. J., & Tolosana-Delgado, R. (2007). Lecture Notes on Compositional Data Analysis. Retrieved from https://dugi-doc.udg.edu/bitstream/handle/10256/297/CoDa-book.pdf

Examples

P <- prop.table(matrix(runif(12), 4), margin = 1)
tricolore:::PowerScale(P, 2)


jschoeley/tricolore documentation built on Feb. 3, 2024, 4:33 a.m.