| simulate.ReferenceMeasureCartesianProduct | R Documentation |
Simulates from a ReferenceMeasureCartesianProduct
## S3 method for class 'ReferenceMeasureCartesianProduct'
simulate(object, nsim = 1L, seed = NULL, ...)
object |
the ReferenceMeasureCartesianProduct object |
nsim |
the number of simulations |
seed |
optional seed, if set it is used and reported as attribute in the simulation (use with care). |
... |
further unused generic arguments |
a dataframe with nsim rows with simulations of the product measure.
[stats::simulate]
set.seed(4)
CP = cartesianProduct(StdReferenceMeasureUnif01,StdReferenceMeasureN01)
simulate(CP,2,seed=17)
simulate(CP,2)
simulate(CP,2,seed=17)
simulate(CP,2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.