SupportCartesianProduct: Creates a cartesian product of supports

View source: R/Cartesian.R

SupportCartesianProductR Documentation

Creates a cartesian product of supports

Description

Creates a cartesian product of supports

Usage

SupportCartesianProduct(...)

Arguments

...

Give the supports, either directly or as a simple list. If they correspond to named columns in a dataframe, name them

Value

A Support of type SupportCartesianProduct that provides the Cartesian product of the supports

Supports are essentially encoded sets or spaces of possible values. The cartesian product of such spaces is the space containing the tuples of with one entry from each space. In R it will be encoded by the columns of a data.frame.

See Also

[Support], [data.frame]

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

Examples

 s1 = Support(-Inf,Inf,lim=c(-2,2))
 s2 = Support(0,2)
 s3 = Support(X=c(1,2,3))
 s4 = Support(X=c("A","B","C","D"))
 s  = SupportCartesianProduct(s1,s2,s3,s4)


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