R/popsim1d.R
loglik_multiclass_.Rd
Calculate the log-likelihood for a 1-d multi-class population
loglik_multiclass_(n, Y, y)
the sample size.
a vector indicating the amount of each class in the population.
a vector indicating the amount of each class in the sample.