
Obtain draws from a Bayesian model sampler
sample(x, n_save = 1000L, n_burn = 0L, mh = set_mh(), verbose = TRUE)
Bayesian model
Integer scalar with number of draws to save / burn.
Settings to tune the Metropolis-Hastings step. See set_mh
.
Logical scalar. Whether to print status updates.
Returns a numeric matrix with stored draws. The Bayesian model is modified in place.