subBasisIndices: Computes the indices of a certain marginal basis

subBasisIndicesR Documentation

Computes the indices of a certain marginal basis

Description

Computes the indices of a certain marginal basis

Usage

subBasisIndices(
  basis,
  indices,
  basisDims = sapply(attr(basis, ".LIST"), function(x) nrow(x$S))
)

Arguments

basis

the full cartesian BayesSpaceBasis

indices

giving which the marginal subspaces of interest, given as booelan vector or vector of names of positive or negative integers .

basisDims

the dimensions of the basises for the various subspaces

Value

an integer vector with the indices of the interaction described by the indices.

See Also

Other Cartesian: BayesSpaceBasis.BayesSpaceCartesianProduct(), BayesSpaceBasisCartesianProduct(), BayesSpaceCartesianProduct(), ReferenceMeasureCartesianProduct(), SupportCartesianProduct(), cartesianProduct(), getBayesSpace.ReferenceMeasureCartesianProduct(), getCartesianFactors()


DistributionalDDA documentation built on Oct. 20, 2026, 5:06 p.m.