Constrained search for a partial principal balance on grouped parts
Source:R/tabu_search.R
partial_pb_constrained.RdBuilds a single grouped constrained principal balance from the first principal component of the grouped composition.
Arguments
- X
A numeric matrix with strictly positive finite entries. Rows are observations and columns are compositional parts.
- lI
A list defining a partition of a subset of the columns of
X. IfNULL, each column ofXis used as a singleton group.- constrained.criterion
Criterion used to choose the constrained balance. Either
"variance"(default) or"angle".
Value
A list with the following elements:
dimDimension of the grouped problem, equal to
length(lI) - 1.lIThe input grouping structure.
varianceVariance criterion of the selected grouped balance.
balance_rawInteger vector in \(\{-1,0,1\}\) describing the selected grouped split.
balanceThe corresponding one-column balance basis.
constrained.criterionCriterion used to construct the balance.