Perturbation Operation
Perturbation of two compositions. methods
perturbation(x, y, ...) ## S4 method for signature 'numeric,numeric' perturbation(x, y) ## S4 method for signature 'CompositionMatrix,numeric' perturbation(x, y) ## S4 method for signature 'CompositionMatrix,matrix' perturbation(x, y)
x, y
: A numeric
vector of compositional data or a CompositionMatrix
object....
: Currently not used.A numeric
vector.
In compositional geometry, perturbation plays the role of sum (translation). It is the closed component-wise product of two compositions.
x <- as_composition(c(1, 2, 3)) y <- as_composition(c(1, 2, 1)) ## Perturbation perturbation(x, y) x + y ## Powering powering(y, 2) y * 2 ## Scalar product scalar(x, y)
Other operations in the simplex: arithmetic
, closure()
, powering()
, scalar()
N. Frerebeau
Useful links