
Last chance! 50% off unlimited learning
Sale ends in
Starts a sampling algorithm
run(alg,gensample,maxsteps)
the sampling algorithm. An object of type "sampalg" or "mmctest".
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".
the maximal number of steps to take
the algorithm to be used
the algorithm to be used
the algorithm to be used
# NOT RUN {
alg<-getalgonthefly()
res <- run(alg, function() runif(1)<0.2);
res
# }
Run the code above in your browser using DataLab