Description Usage Arguments Value Examples
NNetar forecast wrapper
1 |
x |
'ts' data |
h |
forecast horizon |
level |
confidence level. Default is 0.95 |
onlyfc |
if TRUE return only forecasts, otherwise returns a full forecast classed object |
nn_p |
Embedding dimension for non-seasonal time series. Number of non-seasonal lags used as inputs. For non-seasonal time series, the default is the optimal number of lags (according to the AIC) for a linear AR(p) model. For seasonal time series, the same method is used but applied to seasonally adjusted data (from an stl decomposition) - From Rob J Hyndman. |
... |
extra args, if needed. |
forecasts from ts data or an object of class 'forecast'
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.