plot_interval_coverage: Plot interval coverage

View source: R/get-coverage.R

plot_interval_coverageR Documentation

Plot interval coverage

Description

Plot interval coverage values (see get_coverage() for more information).

Usage

plot_interval_coverage(coverage, colour = "model")

Arguments

coverage

A data frame of coverage values as produced by get_coverage().

colour

According to which variable shall the graphs be coloured? Default is "model".

Value

ggplot object with a plot of interval coverage

Examples


example <- as_forecast_quantile(example_quantile)
coverage <- get_coverage(example, by = "model")
plot_interval_coverage(coverage)

epiforecasts/scoringutils documentation built on Dec. 11, 2024, 11:12 a.m.