Skip to contents

Add the forecast dates to a plot

Usage

add_forecast_dates(plot, forecast_dates = NULL)

Arguments

plot

ggplot2 object

forecast_dates

A data.frame in the format produced by extract_forecast_dates() (with at least a date variable and a Data unavailable variable)). Specifies when date availability should be add to plots. May contain faceting variables.

Value

A ggplot2 plot with dates of data unavailability added.