Learn R Programming

beast (version 1.1)

singleLocalProposal: Move 3.b

Description

Implement Metropolis-Hastings Move 3.b.

Usage

singleLocalProposal(cutPoints, nTime, mhSinglePropRange, startPoint)

Arguments

cutPoints

Current state

nTime

Number of time-points

mhSinglePropRange

Prior parameter.

startPoint

Optional.

Value

newState

Candidate state

propRatio

Proposal ratio