This function is just a wrapper for `runif`

which can be used in conjuction with `simCapture`

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

1 | ```
drawCapRatesUnif(lower, upper)
``` |

`lower` |
Lower bound of the unifrom distribution |

`upper` |
Upper bound of the uniform distribution |

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

`function` |
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`

, `drawCapRatesGeom`

, `drawCapRatesExp`

, `drawCapRatesBeta`

, `drawCapRatesGamma`

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

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.