Description Usage Arguments Value
View source: R/CMJ-functions.R
Get the shape and rate parameter of a gamma distribution given an integration interval and mean.
1 | find_gamma_parameters(m = 5.5, a = 0, b = 11.5, int_value = 0.975)
|
m |
The mean of the gamma distribution. |
a |
The lower limit of integration. Default is a=0 |
b |
The upper limit of intefration. Default is b=11.5 |
int_value |
The confidence level \int_a^b f(x)\,dx = int_value. Default is int_value = .975 |
P |
The parameter of the logarithmic distribution for the number of infected during an event. Default p=0.5 |
The shape and rate parameters of the gamma distribution.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.