Learn R Programming

shinyrecap (version 0.1.0)

simulateCapture: Simulate Capture Re-capture with heterogeneity

Description

Simulate Capture Re-capture with heterogeneity

Usage

simulateCapture(hetero, p)

Arguments

hetero

The heterogineity

p

A vector of capture event probabilities

Examples

Run this code
# NOT RUN {
het <- simulateHeteroNormal(1000, 1.1)
cap <- simulateCapture(het, p = c(.05,.1,.05,.1))
summary(cap)
# }

Run the code above in your browser using DataLab