gsi.margin {compositions} | R Documentation |
This generic function should select the selected type of margin based on the class of the dataset and the specified margin type.
gsi.margin(X,...) gsi.margin.acomp(X,what,...,margin="acomp") gsi.margin.rcomp(X,what,...,margin="rcomp") gsi.margin.aplus(X,what,...) gsi.margin.rplus(X,what,...)
X |
The dataset to take the margin from. |
what |
The indices xor column names to be kept. |
margin |
The type of marginalisation to be used. Possible values are: '"sub"', '"rcomp"', '"acomp"' and an index xor a name of a variable in the dataset. |
... |
other arguments |
Some marginal dataset or vector still containing the variables given
by what
and optionally one
additional part named '"+"', '"*"' or margin.
Do not use gsi.* functions directly since they are internal functions of the package
K.Gerald v.d. Boogaart http://www.stat.boogaart.de, Raimon Tolosana-Delgado
data(SimulatedAmounts) plot(gsi.margin(acomp(sa.lognormals5),c("Cd","Cu")))