R/popsim1d.R
logpost_binary_.Rd
Calculate the log-posterior for a 1-d binary population
logpost_binary_(N, n, Y, y, lprior)
the population size
the sample size
the number of successes in the population
the number of successes in the sample
function uses to calculate the log-prior