R/forecast.R
chlaa_plot_forecast.Rd
Plot a forecast summary
chlaa_plot_forecast( forecast, var, data = NULL, data_time = "time", data_y = NULL, show_mean = FALSE )
Output from `chlaa_forecast_from_fit()`.
Variable to plot.
Optional observed data frame (must have a time column and a matching y column).
Column name for time in `data`.
Column name for y in `data`. If NULL, uses `var`.
Plot mean line as well as median.
A ggplot object.