View source: R/getHospitalizations.R
getHospitalizations.SEIRTModel | R Documentation |
Gets the total hospitalizations from the given model
## S3 method for class 'SEIRTModel' getHospitalizations(model, byGroup = TRUE, asRate = FALSE, caseHospitalizationRatio)
model |
The model from which to get the data |
byGroup |
Whether or not to return data by population group; defaults to TRUE |
asRate |
Whether to return results as a rate (fraction of population) or else a number; defaults to FALSE |
caseHospitalizationRatio |
The fraction of cases that are hospitalized; single fraction or vector of fractions by population group; must be specified |
A vector of hospitalizations or hospitalization rates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.