powered by
proposeContinuous(orig_beta, proposal_range, limit = 30)
proposal_range
orig_beta
limit
ProposeDiscrete
# Previous parameter value param = runif(1, 0, 1) # Propose new value within range [0, 1], with proposal width 0.1 new.param = proposeContinuous(param, 0.1, 1)
Run the code above in your browser using DataLab