View source: R/getHospitalizations.R
getHospitalizations.SEIRModel | R Documentation |
Gets the total hospitalizations from the given model
## S3 method for class 'SEIRModel' getHospitalizations(model, byGroup = TRUE, asRate = FALSE, fractionSymptomatic, 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 |
fractionSymptomatic |
The fraction of cases that are symptomatic; single fraction or vector of fractions by population group; must be specified |
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.