Learn R Programming

compositions (version 2.0-0)

gsiplotmargin: Internal functions of the compositions package

Description

Internal function to compute 2D marginal compositions for plots

Usage

gsi.plotmargin(X,d,margin,what="data")

Arguments

X

a multivariate compositional dataset

d

a numeric or character vector of two elements specifying the parts to be kept in the marginalization process

margin

a character specifying the type of margin to be chosen. Possible values are "acomp", "rcomp" or a column name from the dataset.

what

simply here to avoid an error if the argument is passed.

Value

a composition of three elements.

See Also

gsi