Description Usage Arguments Value
View source: R/backfill-utils.R
sample revised ILI trajectories using normal approximation
1 2 3 | rRevisedILI_fast(n, observed_inc, epiweek_idx, region, season,
season_start_epiweek = 30, add_nowcast = FALSE, min_value = 0.05,
return_sampled_id = FALSE)
|
n |
number of revised trajectories to sample |
observed_inc |
observed incidence so far this season, starting at EW40 and going to the most recent report |
epiweek_idx |
most recent epidemic week (equals 40 + length(observed_inc) - # weeks in season) |
region |
region trajectory was made from |
season |
current season in 20xx/20xx+1 format |
add_nowcast |
logical; add nowcast based on delphi epicast? |
min_value |
minimum value for revised wILI; any lower values are truncated here. |
return_sampled_id |
logical; return a data frame with identifiers of sampled region, season, and epiweek? |
n by length(observed_inc) matrix of samples for possible revised ili.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.