mct_thin: Thin the Chains

Description Usage Arguments Value Author(s) Examples

Description

Thin the chain(s) of mcmc or mcmc.list object.

Usage

1
2
3
4
5
6
7
mct_thin(object, thin)

## S3 method for class 'mcmc'
mct_thin(object, thin)

## S3 method for class 'mcmc.list'
mct_thin(object, thin)

Arguments

object

An object of class mcmc or mcmc.list.

thin

The thining

Value

The input object mcmc or mcmc.list thinned.

Author(s)

Eduardo Jr

Examples

1
2
3
4
data("line", package = "coda")
str(line)
str(mct_thin(line, thin = 5))
str(mct_thin(line[[1L]], thin = 10))

jreduardo/mcmctools documentation built on May 12, 2019, 6:16 p.m.