Skip to contents

Line plot showing quantiles of the empirical delay distribution over reference dates.

Usage

enw_plot_delay_quantiles(pobs, quantiles = c(0.1, 0.5, 0.9), facet = TRUE)

Arguments

pobs

A preprocessed data object as produced by enw_preprocess_data().

quantiles

A numeric vector of probabilities. Defaults to c(0.1, 0.5, 0.9).

facet

Logical. When TRUE (the default), plots with more than one .group are automatically wrapped by group. Set to FALSE to disable and add a custom facet layer.

Value

A ggplot2 plot.

Examples

pobs <- enw_example("preprocessed_observations")
enw_plot_delay_quantiles(pobs)