plot_quantile_coverage: Plot quantile coverage

View source: R/get-coverage.R

plot_quantile_coverageR Documentation

Plot quantile coverage

Description

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

Usage

plot_quantile_coverage(coverage, colour = "model")

Arguments

coverage

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

colour

String, according to which variable shall the graphs be coloured? Default is "model".

Value

A ggplot object with a plot of interval coverage

Examples

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

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