Description Usage Arguments Details Value Author(s) References See Also Examples

This function is just a wrapper for `rbeta`

which can be used in conjuction with `simCapture`

to simulate capture data where the rates are drawn from a beta distribution

1 | ```
drawCapRatesBeta(shape1, shape2)
``` |

`shape1` |
The first shape parameter of the beta distribution |

`shape2` |
The second shape parameter of the beta distribution |

This function returns a function which can be used as an argument for `simCapture`

A function which takes the number of capture rates to draw as an argument

Matthew W. Pennell

Pennell M.W., C.R. Stansbury, L.P. Waits and C.R. Miller. submitted. capwire: A R Package for Estimating Population Census Size from Non-Invasive Genetic Sampling

`simCapture`

, `drawCapRatesUnif`

, `drawCapRatesGamma`

, `drawCapRatesExp`

, `drawCapRatesGeom`

1 2 3 4 5 6 7 8 9 | ```
## Specify the distribution
dist <- drawCapRatesBeta(shape1=1, shape2=0.5)
## Simulate a data set with the capture rates drawn from dist
data <- simCapture(n=30, s=100, dist.func=dist)
data
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.