Operators performing operations in the simplex.
methods
x %perturbe% y
x %power% y
## S4 method for signature 'CompositionMatrix,CompositionMatrix'x %perturbe% y
## S4 method for signature 'CompositionMatrix,numeric'x %power% y
## S4 method for signature 'numeric,CompositionMatrix'x %power% y
Arguments
x: A CompositionMatrix object.
y: A CompositionMatrix object or a numeric vector.
Returns
A CompositionMatrix object or a numeric vector (same as x).
Details
%perturbe%: Perturbation operation .
%power%: Powering operation .
Examples
x <- as_composition(c(1,2,3))y <- as_composition(c(1,2,1))## Perturbationperturbation(x, y)x + y
## Poweringpowering(y,2)y *2## Scalar productscalar(x, y)
See Also
Other operations in the simplex: closure(), perturbation(), powering(), scalar()