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