mcmc_thin: Apply burnin and thinning to an MCMC posteriors data frame

View source: R/mcmc-thin.R

mcmc_thinR Documentation

Apply burnin and thinning to an MCMC posteriors data frame

Description

Apply burnin and thinning to an MCMC posteriors data frame

Usage

mcmc_thin(mcmc_dat, burnin, thin)

Arguments

mcmc_dat

A data frame of the MCMC posteriors

burnin

The number of samples to burn away from the beginning of the mcmc_dat data frame

thin

The thinning, or extract every Nth row from mcmc_dat AFTER burnin has been removed from it

Value

The modified mcmc_dat data frame


pbs-assess/gfiscamutils documentation built on Oct. 24, 2024, 1:37 p.m.