Plots the recursive forecast obtained using recursiveforecast
When forecasts were made for multiple lambdas and lmbda
is not a single
number, then a ribbon will be plotted that reaches from the minimum estimate
of all lambdas to the maximum.
# S3 method for bigtime.recursiveforecast
plot(x, series = NULL, lmbda = NULL, last_n = floor(nrow(fcst$Y) * 0.1), ...)
Returns a ggplot
Recursive Forecast obtained using recursiveforecast
Series name. If original data has no names, then use Y1 for the first series, Y2 for the second, and so on.
Lambdas to be used for plotting. If forecast was done using only one lambda, then this will be ignored.
Last n
observations of the original data to include in the plot
Not currently used
If lmbda
is of length one or forecasts were made using only one lambda,
then only a line will be plotted.
Default names for series are Y1, Y2, ... if the original data does not have any column names.