captures: Simulating captures
Description
Simulating captures as part of a CRC experiment.Usage
captures(n, pop, k, heters, covs)
Arguments
pop
The data.frame with a basic template for the
population.
heters
A character string to denote a specific
heterogeneity structure. Currently only french.1 is
implemented.
covs
A character string to denote the covariates
to be included. Currently only NULL and age.sex.zip are
implemented.
Value
- A data.frame with capture-recapture data
Details
Given (possibly) some covariates specified by covs
and a heterogeneity function specified by heters,
conduct a capture-recapture experiment, and return the
capture-recapture data.