Remove zero-components from interval data in the simplex format.
Arguments
- simplex
A numeric simplex vector of length 3 where the elements sum to 1, or a numeric matrix or data frame where each row is a simplex vector.
- method
A character string specifying the method to remove zeros. Currently, only "rescaling" is supported. Default is "rescaling".
- padding
A numeric value to add to each element of the simplex when using the "rescaling" method. Default is 0.01.
Value
A numeric matrix with the same dimensions as the input simplex,
with zeros removed according to the specified method.