Produces plots for the results of a forecast combination method. Either an actual vs. fitted plot (which = 1) or a barplot of the combination weights (which = 2).

# S3 method for foreccomb_res
plot(x, which = 1, ...)

Arguments

x

An object of class 'foreccomb_res'.

which

Type of plot: 1 = actual vs. fitted, 2 = combination weights.

...

Other arguments passing to plot.default.

Value

A plot for the foreccomb_res class.

Author

adapted from Christoph E. Weiss and Gernot R. Roetzer (ForecastComb)