View source: R/simulated-data.R
observed_cases_trajectory | R Documentation |
Generate trajectory of reported cases for a given count originating on a particular day
observed_cases_trajectory(
cases_true,
days_reporting,
day_onset,
reporting_parameters
)
cases_true |
true case count originating on day_onset |
days_reporting |
a vector of days on which cases were counted |
day_onset |
day when case originates |
reporting_parameters |
named list of 'mean' and 'sd' of gamma distribution characterising the reporting delay distribution |
a vector of reported case counts of same length as days_reporting
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.