get_proposal: Choosing a proposal state

Description Usage Arguments

View source: R/immunogen_mh_tools_2.r

Description

Given the current state of the MH chain, pick a proposal state. Also returns Q(proposal state|current state)

Usage

1
get_proposal(h, unif.prop = T, radius)

Arguments

h

current State of the MH chain

unif.prop

If TRUE, proposal is chosen from [0,1]^m. If false, only looks in the overlap of [0,1]^m with a cube around h with side length 2*radius

radius

If unif.prop is FALSE, we look for a proposal state in the overlap of [0.1]^m and [h-radius, h+radius].


liesb/BIITE documentation built on May 21, 2017, 1:35 p.m.