Compute marginal compositions by amalgamating the rest (additively).
composition or dataset of compositions
vector containing the indices xor names of the columns to be kept
The new name of the amalgamation column
The position where the new amalgamation column should be stored. This defaults to the last column.
The role of X either
The amalgamation column is simply computed by adding the
non-selected components after closing the composition. This is
consistent with the
rcomp approach and is widely used because
of its easy interpretation. However, it often leads to difficult-to-read
ternary diagrams and is inconsistent with the
With the argument
what="var" the function transformes an rcomp
variance to the resulting variance of the resulting composition.
A closed compositions with class
"rcomp" containing the
selected variables given by
d and the the amalgamation column.
MNAR has the highest priority, MAR next and WZERO (BDL,SZ),- values are considered as 0 and reported as BDL in the End.
K.Gerald v.d. Boogaart http://www.stat.boogaart.de, Raimon olosana-Delgado
1 2 3 4
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.