simulateCapture: Simulate Capture Re-capture with heterogeneity

Description Usage Arguments Examples

View source: R/power.R

Description

Simulate Capture Re-capture with heterogeneity

Usage

1
simulateCapture(hetero, p)

Arguments

hetero

The heterogineity

p

A vector of capture event probabilities

Examples

1
2
3
het <- simulateHeteroNormal(1000, 1.1)
cap <- simulateCapture(het, p = c(.05,.1,.05,.1))
summary(cap)

fellstat/shinyrecap documentation built on Oct. 6, 2018, 4:40 a.m.