R/popsim1d_fast.R
loglik_binary_fast_.Rd
Calculate the log-likelihood for a 1-d binary population (quickly)
loglik_binary_fast_(P, n_0, n_1)
the population proportion
the number of failures in the sample
the number of successes in the sample