StaticcentreCalculate the center of a compositional dataset
Array of ternary points
The center point
StaticcloseClose compositions to ensure they sum to 1
Array of ternary points
Closed compositions
StaticgeometricCalculate geometric mean of an array of numbers
Array of numeric values
Whether to remove zeros before calculation
The geometric mean
StaticisValidate that a point is a valid ternary point (i.e., has three non-null components)
StaticperturbePerturbe a compositional dataset by a compositional vector
Array of ternary points
Perturbation vector
Perturbated compositions
StaticpowerPower scaling of compositions
Array of ternary points
Power scalar
Scaled compositions
StaticvalidateValidate ternary points
Array of ternary points to validate
Utility functions for compositional data analysis