set_proposal {pmwg}R 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)


[Package pmwg version 0.2.7 Index]