plot.forecast_error {forecastML} | R Documentation |
Plot forecast error
Description
Plot forecast error at various levels of aggregation.
Usage
## S3 method for class 'forecast_error'
plot(
x,
type = c("global"),
metric = NULL,
facet = NULL,
models = NULL,
horizons = NULL,
windows = NULL,
group_filter = NULL,
...
)
Arguments
x |
An object of class 'forecast_error' from |
type |
Select plot type; |
metric |
Select error metric to plot (e.g., "mae"); |
facet |
Optional. A formula with any combination of |
models |
Optional. A vector of user-defined model names from |
horizons |
Optional. A numeric vector to filter results by horizon. |
windows |
Optional. A numeric vector to filter results by validation window number. |
group_filter |
A string for filtering plot results for grouped time series (e.g., |
... |
Not used. |
Value
Forecast error plots of class 'ggplot'.