R/popsim1d_superfast.R
mcmc_multinomial_superfast.Rd
Sample from the posterior predictive of a 1-d multinomial population (very quickly)
mcmc_multinomial_superfast(obs, N, nsamples, alpha)
numeric vector representing the observed sample.
size of the population.
number of samples to draw
hyperparameter for dirichlet prior; can be either a single number or a numeric vector