R/popsim1d_fast.R
logpost_binary_fast.Rd
Calculate the log-posterior of a 1-d binary population (quickly)
logpost_binary_fast(pop, obs, lprior, a, b, ...)
numeric vector representing the population
numeric vector representing the observed sample
function uses to calculate the log-prior
fix later
fix later
other arguments, passed to the lprior function