# Draw Capture Rates from Geometric Distribution

### Description

This function is just a wrapper for `rgeom`

which can be used in conjuction with `simCapture`

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

### Usage

1 |

### Arguments

`p` |
Parameter of geometric distribution |

### Details

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

### Value

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

### Author(s)

Matthew W. Pennell

### References

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

### See Also

`simCapture`

, `drawCapRatesUnif`

, `drawCapRatesExp`

, `drawCapRatesBeta`

, `drawCapRatesGamma`

### Examples

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.