View source: R/getInfectionTimeSeries.R
makeOutputFromDailyInfectionsByGroup | R Documentation |
Gets the time series of infections from the given model
makeOutputFromDailyInfectionsByGroup(model, dailyInfectionsByGroup, byGroup, asRate, byWeek)
model |
The model from which to get the data |
dailyInfectionsByGroup |
Calculated daily infection prevalence (either as incidence or prevalence) |
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 |
byWeek |
If true, returns the output on a weekly, not daily basis; defaults to FALSE |
A matrix that contains the infections by simulation day (or week, if byWeek is selected)
Matt Clay clay.matt@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.