.diagnostics_plot: Internal function to plot the diagnostics plot
Description
Internal function to plot the diagnostics plot
Usage
.diagnostics_plot(Y, fit, res, s, variable, dates)
Arguments
- Y
observed values
- fit
fitted values
- res
residual values
- s
how many observations were lost
- variable
variable to plot: either numeric or column name
- dates
vector of dates of length nrow(Y)