updateProposalGenerator {BayesianTools}R Documentation

To update settings of an existing proposal genenerator

Description

To update settings of an existing proposal genenerator

Usage

updateProposalGenerator(
  proposal,
  chain = NULL,
  message = F,
  eps = 1e-10,
  manualScaleAdjustment = 1
)

Arguments

proposal

an object of class proposalGenerator

chain

a chain to create the covariance matrix from (optional)

message

whether to print an updating message

eps

numeric tolerance for covariance

manualScaleAdjustment

optional adjustment for the covariance scale (multiplicative)

Details

The this function can be applied in 2 ways 1) update the covariance given an MCMC chain, and 2) update the proposal generator after parameters have been changed


[Package BayesianTools version 0.1.8 Index]