sampleSize: Computing the Number of Samples

Description Usage Arguments Value Examples

Description

[Stable]

A method that computes the number of samples for a given MCMC options triple.

Usage

1
2
3
4
sampleSize(object, ...)

## S4 method for signature 'McmcOptions'
sampleSize(object, ...)

Arguments

object

(McmcOptions)
object based on which the number of samples is computed.

...

not used.

Value

A number of samples for a given MCMC options.

Examples

1
2
3
4
5
# Set up the 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.
my_options <- McmcOptions(burnin = 10000, step = 2, samples = 10000)

sampleSize(my_options)

0liver0815/onc-crmpack-test documentation built on Feb. 19, 2022, 12:25 a.m.