PowerScale: Compositional Powering

Description Usage Arguments Value References Examples

Description

Raise a compositional data-set to a given power.

Usage

1
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

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

tricolore documentation built on April 28, 2020, 5:10 p.m.