Error with X-13ARIMA-SEATS decomposition in R: "no applicable method for 'components'"

Hi,
I'm heving issues while attempting to decompose a time series using the X-13ARIMA-SEATS method in R. Here's the code snippet I'm using:

leaving_per_day_f |>
  tsibble(index=date_to) |>
  model(x11 = X_13ARIMA_SEATS(num_people ~ x11())) |>
  components() |>
  autoplot()

Error that i get i dont get at all, error:

Error in `transmute()`:
ℹ In argument: `cmp = map(.fit, components)`.
Caused by error in `UseMethod()`:
! no applicable method for 'components' applied to an object of class "null_mdl"

here is the backtrace:

Backtrace:
     ▆
  1. ├─ggplot2::autoplot(...)
  2. ├─generics::components(...)
  3. ├─fabletools:::components.mdl_df(...)
  4. │ ├─dplyr::transmute(...)
  5. │ └─dplyr:::transmute.data.frame(...)
  6. │   └─dplyr:::mutate_cols(.data, dots, by)
  7. │     ├─base::withCallingHandlers(...)
  8. │     └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
  9. │       └─mask$eval_all_mutate(quo)
 10. │         └─dplyr (local) eval()
 11. └─fabletools:::map(.fit, components)
 12.   └─base::lapply(.x, .f, ...)
 13.     ├─generics (local) FUN(X[[i]], ...)
 14.     └─fabletools:::components.mdl_ts(X[[i]], ...)
 15.       └─generics::components(object$fit, ...)

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.