plot_quantile_coverage: Plot quantile coverage

View source: R/plot.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

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

epiforecasts/scoringutils documentation built on April 23, 2024, 4:56 p.m.