drawCapRatesGeom: Create a geometric distribution of capture rates for...

View source: R/simulate-capwire.R

drawCapRatesGeomR Documentation

Create a geometric distribution of capture rates for simulation

Description

Can be used in conjunction with simCapture

Usage

drawCapRatesGeom(p)

Arguments

p

geometric sampling probability

Value

a function which takes an argument n that can be then used to simulate capture rates with simCapture

See Also

simCapture rgeom

Examples

## Specify a geometric distribution
md <- drawCapRatesGeom(0.5)
simCapture(n=20, s=100, md)

mwpennell/capwire documentation built on Jan. 12, 2023, 11:19 a.m.