powered by
Returns the one-step-ahead forecast errors (residuals) from a FASSTER model.
# S3 method for FASSTER residuals(object, ...)
A numeric vector of residuals with the same length as the training data.
A fitted FASSTER model object.
Additional arguments (currently unused).
library(tsibble) fit <- as_tsibble(mdeaths) |> model(FASSTER(value ~ trend(1) + fourier(12))) # Extract residuals residuals(fit)
Run the code above in your browser using DataLab