Skip to contents

Plot a timeseries of quantiles

Usage

plot_forecast_quantiles(
  data,
  time_column,
  observation_column,
  quantile_level_column,
  linesize = 2,
  pointsize = 4,
  pointcolor = "darkblue",
  linecolor = "darkblue"
)

Arguments

data

timeseries of quantiles as tidy data, with one row per timepoint per quantile level

time_column

name of the column in data containing timepoints

observation_column

name of the column in data containing observed values at the given quantile levels

quantile_level_column

name of the column in data giving the quantile level (e.g. 0.01 for the 0.01 quantile / 1st percentile)

linesize

size parameter passed to ggplot2::geom_line(). Default 2.

pointsize

size parameter passed to ggplot2::geom_point() Default 4.

pointcolor

color parameter passed to ggplot2::geom_point() Default "darkblue".

linecolor

color parameter passed to ggplot2::geom_line(). Default "darkblue".

Value

the resultant plot, as a ggplot object.