Description Usage Arguments Value
View source: R/utility-functions.R
Given the average duration of the communicable window, and an upper
bound corresponding to the p-th quantile (default p =
0.95
), find the corresponding Gamma rate parameter.
1 | find_kappa(tbar, p_val, p = 0.95)
|
tbar |
A scalar greater than 0. Average duration of the communicable window. |
p_val |
A scalar greater than 0. Upper quantile of the communicable window. |
p |
A scalar greater than 0 and smaller than 1. Quantile level (default 0.95) |
A shape parameter higher than zero
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.