Learn R Programming

crmPack (version 1.0.6)

McmcOptions-class: Class for the three canonical MCMC options

Description

Class for the three canonical MCMC options

Arguments

Slots

iterations

number of MCMC iterations

burnin

number of burn-in iterations which are not saved

step

only every step-th iteration is saved after the burn-in

Examples

Run this code

# 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)

Run the code above in your browser using DataLab