poptop: Simulate a CRC experiment

Description Usage Arguments Value Author(s)

View source: R/simulate.R

Description

Generate fake capture-recapture datasets to be used in simulation experiments

Usage

1
2
poptop(k = 2, n = 100, heters = NULL, covs = NULL,
  remove.zeros = TRUE)

Arguments

k

The number of lists to be generated

n

The true size of the [fake] population

heters

Optional: a string that is the name of some function for defining a heterogeneity structure, possibly in terms of covariates. Currently the only non-null option implemented is french.1, although a user could easily create additional options

covs

Optional: a string that is the name of some function for defining covariates for each population unit. Currently the only non-null option implemented is age.sex.zip

remove.zeros

Logical, TRUE by default. If FALSE, keep the all-zero capture patterns in the dataset to be returned

Value

A data frame containing fake capture recapture data

Author(s)

Zach Kurtz


lllcrc documentation built on May 2, 2019, 3:34 p.m.