thin-method: Get or set the number of thinning intervals.

Description Usage Arguments Value Examples

Description

This function gets or sets the number of thinning intervals used for an MCMC simulation.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
thin(object)

thin(object) <- value

## S4 method for signature 'McmcParams'
thin(object)

## S4 method for signature 'MixtureModel'
thin(object)

## S4 replacement method for signature 'MixtureModel,numeric'
thin(object) <- value

Arguments

object

see showMethods(thin)

value

a length-one numeric vector indicating how often to save MCMC iterations to the chain. For example, a thin of 10 means that every 10th MCMC simulation is saved to the chain.

Value

An integer of the number of thinning intervals

Examples

1
2

CNPBayes documentation built on May 6, 2019, 4:06 a.m.