Sample from the posterior of a 1-d binary population

mcmc_binary(obs, N, prior = "uninformative", control = list(...), ...)

Arguments

obs

numeric vector representing the observed sample.

N

size of the population.

prior

choice of prior.

control

a list of parameters for tuning the mcmc algorithm. Passed to lemur.control.

...

arguments to be used to form the control object if it is not supplied directly.