Draw plot of test error for given models
Arguments
- mod_list
Lists of forecast results (
predbvharobjects)- y
Test data to be compared. should be the same format with the train data and predict$forecast.
- type
Loss function to be used (
mse: MSE,mae: MAE,mape: MAPE,mase: MASE)- mean_line
Whether to draw average loss. By default,
FALSE.- line_param
Parameter lists for
ggplot2::geom_path().- mean_param
Parameter lists for average loss with
ggplot2::geom_hline().- viridis
If
TRUE, scale CI and forecast line usingggplot2::scale_fill_viridis_d()and ggplot2::scale_colour_viridis_d, respectively.- viridis_option
Option for viridis string. See
optionof ggplot2::scale_colour_viridis_d. Choose one ofc("A", "B", "C", "D", "E"). By default,D.- NROW
nrowofggplot2::facet_wrap()- NCOL
ncolofggplot2::facet_wrap()- ...
Additional options for
geom_loss(inherit.aesandshow.legend)
