Description Usage Arguments Details Value
Calculate the expected number of hospitalizations by day, based on an assumed fraction of symptomatic patients that eventually go to the hospital.
1 | calc_nhosp(ph, modout, mfadjust = TRUE)
|
ph |
Per-person hospitalization probability |
modout |
Model output from |
mfadjust |
If |
To make this calculation, we have to convert this probability to a rate. If the recovery rate is γ = 1/D0, then the hospitalization rate r_h that gives the desired probability P_h is
r_h = γ \frac{P_h}{1-P_h}
Data frame of time and expected hospitalizations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.