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

View source: R/McmcOptions-methods.R

sampleSizeR Documentation

Compute the number of samples for a given MCMC options triple

Description

Compute the number of samples for a given MCMC options triple

Usage

sampleSize(mcmcOptions)

Arguments

mcmcOptions

the McmcOptions object

Value

the resulting sample size

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)


crmPack documentation built on June 26, 2024, 5:07 p.m.