Skip to contents

Plot a timeseries of quantiles.

Usage

plot_quantile_timeseries(
  data,
  time_column,
  value_column,
  quantile_level_column,
  linewidth = 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 timepoint values, as a string.

value_column

Name of the column in data containing the timeseries values at the given quantile levels, as a string.

quantile_level_column

Name of the column in data containing indicating which quantile level the row contains, as a string.

linewidth

linewidth 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 plot, as a ggplot object.