rposbern returns a data frame with some attributes.
The function generates random deviates
(\(\tau\) columns labelled y1, y2, ...)
for the response.
Some indicator columns are also included
(those starting with ch are for previous capture history).
The default setting corresponds to a \(M_{bh}\) model that
has a single trap-happy effect.
Covariates x1, x2, ... have the same
affect on capture/recapture at every sampling occasion
(see the argument parallel.t in, e.g.,
posbernoulli.tb).
The function dposbern gives the density,
Details
The form of the conditional likelihood is described in
posbernoulli.b and/or
posbernoulli.t and/or
posbernoulli.tb.
The denominator is equally shared among the elements of
the matrix x.