nnet_ts fits a neural network time series model using nnetTs

nnet_ts(timeseries, num_ahead = 5, level = 95, m = 1, size = 1,
  ...)

Arguments

timeseries

the time series to forecast

num_ahead

the number of points at the end of the time series to forecast

level

Confidence level for prediction intervals.

m

embedding dimension, time delay, forecasting steps

size

number of hidden units in the neural network

...

arguments to be passed to predict.nlar

Value

a data.frame of the mean forecasts, the observed values, and the lower and upper CI levels (if an error occurs, then just NA values)