R/popsim1d_fast.R
logpost_binary_fast_.Rd
Calculate the log-posterior for a 1-d binary population (quickly)
logpost_binary_fast_(P, n_0, n_1, lprior, ...)
the population proportion
the number of failures in the sample
the number of successes in the sample
function uses to calculate the log-prior
other arguments, passed to the lprior function