Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

saveSample

Determine if we should save this sample


Description

Determine if we should save this sample

Usage

saveSample(iteration, mcmcOptions)

Arguments

iteration

the current iteration index

mcmcOptions

the McmcOptions object

Value

Logical value, if we should save this sample

Examples

# Set up MCMC option in order to have a burn-in of 10000 iterations and
# then take every other iteration up to a collection of 10000 samples
options <- McmcOptions(burnin=10000,
                       step=2,
                       samples=10000)

sampleSize(options)

saveSample(iteration=5,
           mcmcOptions=options)

crmPack

Object-Oriented Implementation of CRM Designs

v1.0.0
GPL (>= 2)
Authors
Daniel Sabanes Bove [aut], Wai Yin Yeung [aut], Giuseppe Palermo [aut, cre], Thomas Jaki [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.