Calculate the log-posterior of a 1-d binary population

logpost_binary(pop, obs, lprior)

Arguments

pop

numeric vector representing the population

obs

numeric vector representing the observed sample

lprior

function uses to calculate the log-prior