getDeaths.SEIRModel | R Documentation |
Gets the total deaths from the given model
## S3 method for class 'SEIRModel' getDeaths(model, byGroup = TRUE, asRate = FALSE, fractionSymptomatic, caseFatalityRatio)
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 |
caseFatalityRatio |
The fraction of cases that result in fatalities; single fraction or vector of fractions by population group; must be specified |
A vector of deaths or death rates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.