set_proposal: Setup the proposal distribution arguments (if in sample...

View source: R/sampling.R

set_proposalR Documentation

Setup the proposal distribution arguments (if in sample stage)

Description

Takes the current stage and the mix arg value and sets a default if necessary.

Usage

set_proposal(i, stage, pmwgs, pdist_update_n)

Arguments

i

The current iteration of the stage being run.

stage

The stage being run by the sampler.

pmwgs

The pmwgs object from which to attempt to create the proposal distribution

pdist_update_n

The number of iterations to run before recomputing the proposal distribution (NA to never update or for burnin/adaptation stages)


pmwg documentation built on May 29, 2024, 12:09 p.m.