Calculate the log-posterior of a 1-d multi-class population

logpost_multiclass(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