View source: R/simulate-capwire.R
| drawCapRatesGamma | R Documentation | 
Can be used in conjunction with simCapture
drawCapRatesGamma(shape, rate)
| shape | gamma shape parameter | 
| rate | gamma rate parameter | 
a function which takes an argument n that can be then used to simulate capture rates with simCapture
simCapture rgamma
## Specify a gamma distribution gd <- drawCapRatesGamma(1,0.5) simCapture(n=20, s=100, gd)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.