drawCapRatesUnif: Create a uniform distribution of capture rates for simulation

View source: R/simulate-capwire.R

drawCapRatesUnifR Documentation

Create a uniform distribution of capture rates for simulation

Description

Can be used in conjunction with simCapture

Usage

drawCapRatesUnif(lower, upper)

Arguments

lower

lower bound of uniform distribution

upper

upper bound of uniform distribution

Value

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

See Also

simCapture runif

Examples

## Specify a uniform distribution
ud <- drawCapRatesUnif(0,1)
simCapture(n=20, s=100, ud)

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