update_proposal: Construct a proposal from run results

View source: R/update_proposal.r

update_proposalR Documentation

Construct a proposal from run results

Description

This function takes the provided bi_model and adds a generic Gaussian proposal distribution.

Usage

update_proposal(model, truncate = TRUE, blocks = c("parameter", "initial"))

Arguments

model

a bi_model object

truncate

truncate the multivariate normal proposals according to the used priors, e.g. truncating a parameter with beta prior at 0 and 1

blocks

blocks to use (out of "parameter" and "initial")

Value

the updated bi model


sbfnk/RBi.helpers documentation built on Aug. 24, 2023, 2:14 p.m.