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

View source: R/simulate-capwire.R

drawCapRatesBetaR Documentation

Create a exponential distribution of capture rates for simulation

Description

Can be used in conjunction with simCapture

Usage

drawCapRatesBeta(shape1, shape2)

Arguments

shape1

first shape parameter of beta distribution

shape2

second shape parameter of beta distribution

Value

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

See Also

simCapture rbeta

Examples

## Specify a beta distribution
bd <- drawCapRatesBeta(1, 0.5)
simCapture(n=20, s=100, bd)

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