burnin.thin: Burn-in and thinning of MCMC samples

Description Usage Arguments

View source: R/process-output.R

Description

Burn-in and thinning of MCMC samples

Usage

1
2
3
4
5
6
7
8
burnin.thin(
  samples,
  target = 5000,
  burnin.ratio = 2,
  auto = TRUE,
  burnin = NULL,
  thin = NULL
)

Arguments

samples

Matrix of MCMC samples

target

Target number of samples (default = 5000). Only applicable if auto=TRUE.

burnin.ratio

Fraction of samples to burn-in; i.e. 2 means to remove first 1/2 of samples, 3 means 1/3, etc. (default = 2). Only applicable if auto=TRUE.

auto

Whether or not to perform automatic burnin and thin based on target number of samples.

burnin

Number of samples to discard as burnin (auto must be FALSE)

thin

Thinning interval (auto must be FALSE)


ashiklom/PEcAnRTM documentation built on March 7, 2020, 7:46 a.m.