drawCapRatesExp: Create a exponential distribution of capture rates for...

View source: R/simulate-capwire.R

drawCapRatesExpR Documentation

Create a exponential distribution of capture rates for simulation

Description

Can be used in conjunction with simCapture

Usage

drawCapRatesExp(r)

Arguments

r

exponential rate parameter

Value

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

See Also

simCapture rexp

Examples

## Specify an exponential distribution
ed <- drawCapRatesExp(0.5)
simCapture(n=20, s=100, ed)

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