Description Usage Arguments Value
Expands truth for percents
1 2 | expand_percent(truth, percent_expand, challenge = "ilinet",
expand_by_percent = F, percent_observed = 0.1)
|
truth |
A data.frame with a single row and, at minimum, columns unit and value |
percent_expand |
The number of percent bins to expand around the
observed truth. If |
challenge |
one of "ilinet", "hospital" or "state_ili", indicating which challenge the submission is for. |
expand_by_percent |
A logical value indicating whether to expand truth around percent or rate targets by a percentage of the observed value. |
percent_observed |
A scalar numeric between 0 and 1, indicating the
one-sided percentage of the observed percent or rate target that will be
included. If |
A data.frame with the same columns as 'truth' but additional rows around the observed value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.