| SupportCartesianProduct | R Documentation |
Creates a cartesian product of supports
SupportCartesianProduct(...)
... |
Give the supports, either directly or as a simple list. If they correspond to named columns in a dataframe, name them |
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.
[Support], [data.frame]
Other Cartesian:
BayesSpaceBasis.BayesSpaceCartesianProduct(),
BayesSpaceBasisCartesianProduct(),
BayesSpaceCartesianProduct(),
ReferenceMeasureCartesianProduct(),
cartesianProduct(),
getBayesSpace.ReferenceMeasureCartesianProduct(),
getCartesianFactors(),
subBasisIndices()
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.