R/popsim1d.R
logpost_binary.Rd
Calculate the log-posterior of a 1-d binary population
logpost_binary(pop, obs, lprior)
numeric vector representing the population
numeric vector representing the observed sample
function uses to calculate the log-prior