powered by
Extracts the fitted values.
# S3 method for NNETAR fitted(object, ...)
A vector of fitted values.
A model for which forecasts are required.
Other arguments passed to methods
as_tsibble(airmiles) %>% model(nn = NNETAR(box_cox(value, 0.15))) %>% fitted()
Run the code above in your browser using DataLab