Description Usage Arguments Methods Examples
Starts a sampling algorithm
1 | run(alg,gensample,maxsteps)
|
alg |
the sampling algorithm. An object of type "sampalg" or "mmctest". |
gensample |
a function returing the result of one resampling step (0=no rejection, 1=rejection of the null hypothesis), or an object of type "mmctSamplerGeneric" if alg="mmctest". |
maxsteps |
the maximal number of steps to take |
the algorithm to be used
the algorithm to be used
the algorithm to be used
1 2 3 | alg<-getalgonthefly()
res <- run(alg, function() runif(1)<0.2);
res
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.