Reconstruct a composition from coordinates with respect to a given basis.
composition(H, basis = "ilr")
comp(H, basis = "ilr")
Arguments
- H
Coordinates of a composition. It can be a numeric matrix, a data
frame, or a numeric vector.
- basis
Basis used to interpret the coordinates. Either a character
string naming a predefined basis or a matrix.
Value
A composition corresponding to the given coordinates.