Function to calculate the metropolis ratio

metropolisRatio(LP2, LP1, tempering = 1)

Arguments

LP2

log posterior old position

LP1

log posterior of proposal

tempering

value for tempering