Learn R Programming

BayesianTools (version 0.1.8)

metropolisRatio: Function to calculate the metropolis ratio

Description

Function to calculate the metropolis ratio

Usage

metropolisRatio(LP2, LP1, tempering = 1)

Arguments

LP2

log posterior old position

LP1

log posterior of proposal

tempering

value for tempering

Author

Florian Hartig