Description Usage Arguments Value Examples
Determines observed true values for each target
1 2 |
fluview |
A logical value (default |
year |
Calendar year during which the flu season of interest begins. For
the 2015/2016 flu season, |
weekILI |
A data.frame of observed values (default For |
challenge |
one of "ilinet", "hospital" or "state_ili", indicating which
challenge the submission is for (default |
start_wk |
MMWR week that defines the start of the challenge. Default value
provided for years greater than |
end_wk |
MMWR week that defines the end of the challenge. Default value
provided for years greater than |
A data.frame with columns location, target, and bin_start_incl or
columns age_grp, target, and bin_start_incl if challenge = "hospital"
1 2 3 4 5 6 7 8 9 10 | truth <- create_truth(year = 2015)
truth <- create_truth(fluview = TRUE, year = 2015, challenge = "ilinet")
truth <- create_truth(fluview = FALSE, weekILI = valid_ILI)
truth <- create_truth(fluview = TRUE, year = 2015, challenge = "hospital")
## Not run:
truth <- create_truth(weekILI = valid_ILI)
truth <- create_truth(fluview = FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.