R/popsim1d_fast.R
loghastings_binomial_.Rd
Calculate the log hastings adjustment for metropolis algorithm (quickly)
loghastings_binomial_(Ycur, Yprop, k)
numeric vector for current value of population
numeric vector for proposed value of population
position of the changing value