Description Usage Arguments Details
Plot interval width
1 2 3 4 5 6 7 8 | plot_width(
predictions_cards,
facet_rows = "forecast_date",
facet_cols = "forecaster",
grp_vars = c("forecaster", "forecast_date", "ahead"),
avg_vars = c("geo_value"),
levels = c(0.5, 0.7, 0.9)
)
|
predictions_cards |
tibble of predictions
that are all for the same prediction task, meaning they are for the same
response, incidence period,and geo type. Forecasts may be for a
different forecast date or forecaster.
A predictions card may be created by the function
|
facet_rows |
A variable name to facet data over. Creates a
separate row of plots for each value of specified variable. Can be used
with |
facet_cols |
Same as |
grp_vars |
variables over which to compare widths The first determines the color of the lines while the rest will be faceted over |
avg_vars |
variables over which we compute quantiles. |
levels |
Quantile levels for the summary of interval width, to be
plotted. For example, |
Interval width does not depend on the actual outcome, so this function can be called on predictions cards in addition to score cards.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.