tune: Burn-in and tune a Bayesian model sampler

View source: R/50_execute.R

tuneR Documentation

Burn-in and tune a Bayesian model sampler

Description

Burn-in and tune a Bayesian model sampler

Usage

tune(x, n_burn = 1000L, mh = set_mh(), verbose = TRUE)

burn(x, n_burn = 1000L, verbose = TRUE)

Arguments

x

Bayesian model

n_burn

Integer scalar with number of draws to save / burn.

mh

Settings to tune the Metropolis-Hastings step. See set_mh.

verbose

Logical scalar. Whether to print status updates.

Value

Modifies the Bayesian model in place and returns it invisibly.


bsreg documentation built on March 18, 2022, 5:36 p.m.