Calculate the log hastings adjustment for metropolis algorithm (quickly)

loghastings_binomial_(Ycur, Yprop, k)

Arguments

Ycur

numeric vector for current value of population

Yprop

numeric vector for proposed value of population

k

position of the changing value