Description Usage Arguments Details Value Author(s) Examples
Probability of serial interval
1 2 3 4 5 6 7 | probability_basic(
t,
inf_distr = "dgamma",
inc_distr = "dgamma",
inf_params,
inc_params
)
|
t |
observed serial interval |
inf_distr |
quoted name of the infectious period density function. Defaults to dgamma |
inc_distr |
quoted name of the incubation period density function. Defaults to dgamma |
inf_params |
named list of arguments for infectious period distribution. |
inc_params |
named list of arguments for incubation period distribution. |
Probability of observing a serial interval t is the convolution of the distributions of infectious profile and incubation period.
numeric. Probability of observing the given serial interval given the parameters of infectious period distributions and incubation period distributions
Sangeeta Bhatia
1 2 3 4 5 | probability_basic(
10,
inf_params = list(shape = 100, rate = 100),
inc_params = list(shape = 50, rate = 100)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.