rw_arnn | R Documentation |
Hybrid Random Walk ARNN Forecasting Model
rw_arnn(y, n, PI = FALSE, ret_fit = FALSE)
y |
A numeric vector or time series |
n |
An integer specifying the forecast horizon |
PI |
A logical flag (default = |
ret_fit |
A logical flag specifying that the fitted values of the model on the training set should be returned if true, otherwise, false (default) |
The forecast of the time series of size n
is generated along with the optional
output of fitted values (ret_fit
= TRUE) and confidence interval (PI
= TRUE)
for the forecast.
rw_arnn(y = datasets::lynx, n = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.