acompmargin: Marginal compositions in Aitchison Compositions
Description
Compute marginal compositions of selected parts, by computing the rest as the
geometric mean of the non-selected parts.
Usage
acompmargin(X,d=c(1,2),name="*",pos=length(d)+1)
Arguments
X
composition or dataset of compositions
d
vector containing the indices xor names of the columns selected
name
The new name of the amalgamation column
pos
The position where the new amalgamation column should be
stored. This defaults to the last column.
Value
A closed compositions with class "acomp" containing the
variables given by d and the the amalgamation column.
Details
The amalgamation column is simply computed by taking the
geometric mean of the non-selected components. This is
consistent with the acomp approach and gives clear ternary
diagrams. However, this geometric mean is difficult to interpret.
References
Vera Pawlowsky-Glahn (2003) personal communication. Seminaris
d'Estad�stica, Departament d'Inform�tica i Matem�tica Aplicada,
Universitat de Girona.