updateProposalGenerator: To update settings of an existing proposal genenerator

View source: R/proposalGenerator.R

updateProposalGeneratorR 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


BayesianTools documentation built on Feb. 16, 2023, 8:44 p.m.