sampleSize: Compute the number of samples for a given MCMC options triple

Description Usage Arguments Value Examples

View source: R/McmcOptions-methods.R

Description

Compute the number of samples for a given MCMC options triple

Usage

1
sampleSize(mcmcOptions)

Arguments

mcmcOptions

the McmcOptions object

Value

the resulting sample size

Examples

1
2
3
4
5
6
7
# 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)

crmPack documentation built on March 18, 2018, 1:42 p.m.