Learn R Programming

simctest (version 2.5)

cont-methods: Methods for Function `cont' in Package `simctest'

Description

Continues the sampling for some more steps.

Usage

cont(data,steps)

Arguments

data

a result of a run of a sampling algorithm that has not come to a conclusion yet.

steps

maximum number of further iterations to take.

Methods

data = "sampalgres"

works with the algorithm based on precomputation.

data = "sampalgontheflyres"

works with the on-the-fly algorithm.

data = "mmctestres"

works with object of type "mmctestres".

Examples

Run this code
# NOT RUN {
res <- simctest(function() runif(1)>0.95,maxsteps=10);
res
res <- cont(res,1000)
res
res <- cont(res,1000)
res
# }

Run the code above in your browser using DataLab