thin_chain: Thin MCMC Chain

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Thins and eliminates the burn in period of the Gibbs Chain.

Usage

1
thin_chain(mcmc_chain, thin, burn_in)

Arguments

mcmc_chain

An MCMC Chain matrix. (draws * number of params)

thin

A thinning parameter for the MCMC Chain

burn_in

A burn in parameter for the MCMC Chain

Value

The thinned down version of the MCMC chain

Examples

1
(beta, 2, 2000)

PaoloLuciano/bpwpm documentation built on May 20, 2019, 4:25 p.m.