To update settings of an existing proposal genenerator
updateProposalGenerator(proposal, chain = NULL, message = F, eps = 1e-10, manualScaleAdjustment = 1)
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) |
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