capture: This function simulates the capture process

Description Usage Arguments Value

Description

This function simulates the capture process

Usage

1
capture(p, N, occ, traptype, btype, K = NULL)

Arguments

p

a vector of size 2 containing the capture and recapture probabilities

N

an integer that is the true population size

occ

an integer that is the number of capture occasions to simulate

traptype

a character string specifying the trap type. "single" allows individuals to be caught in at most 1 trap per occasion and "multi" allows individuals to be caught in multiple traps per occasion.

btype

a character string specifying the type of behavioral response to capture Current options are "global" for a global trap response and "trap" for a trap-specific response. "trap" currently only works with traptype=multi.

K

an integer that is the number of traps to simulate if traptype="multi"

Value

W a capture history of dimension N x occ if traptype="single" or N x occ x K if traptype="multi"


benaug/Mbmisscap documentation built on May 12, 2019, 10:56 a.m.