View source: R/get_prop_infect_time.R
get_prop_infect_time | R Documentation |
Calculates the proportion of the infections period (reduced given the distribution of infectiousness and time from symptom onset to isolation). Infectious period is assumed to be gamma distributed.
get_prop_infect_time( delay, offset = -2.31, shape = 1.65, rate = 0.5, isolation_days = Inf )
delay |
Numeric greater than 0. Time from symptom onset to isolation |
offset |
Numeric. Offset of infectiousness compared to symptom onset. Default is -2.31. |
shape |
Numeric. Shape of the gamma distribution of infectious period. Default is 1.65. |
rate |
Numeric. Rate of the gamma distribution of infectious period. Default is 0.5. |
isolation_days |
Numeric greater than 0. Number of days from symptom
onset to end of isolation. Default is |
Numeric. Proportion of infectious period (reduced given the distribution of infectiousness and time from symptom onset to isolation).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.