Learn R Programming

tsfgrnn (version 1.0.5)

plot.grnnForecastRO: Plot the prediction for a test set

Description

It plots the forecast associated with a test set generated with the function rolling_origin.

Usage

# S3 method for grnnForecastRO
plot(x, h = NULL, ...)

Value

None

Arguments

x

the object obtained from a call to rolling_origin.

h

an integer. The forecasting horizon. If NULL (the default), the maximum forecasting horizon of all the test sets is used.

...

Other plotting parameters to affect the plot.