Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in producing residuals from decomposition model #393

Closed
robjhyndman opened this issue Feb 5, 2024 · 1 comment
Closed

Error in producing residuals from decomposition model #393

robjhyndman opened this issue Feb 5, 2024 · 1 comment

Comments

@robjhyndman
Copy link
Member

library(fpp3)

my_dcmp_spec <- decomposition_model(
  STL(value),
  ETS(season_adjust ~ season("N"))
)

as_tsibble(USAccDeaths) |>
  model(my_dcmp_spec) |>
  residuals(type = "innovation")
#> Error in `mutate()`:
#> ℹ In argument: `dplyr::across(...)`.
#> Caused by error in `across()`:
#> ! Can't compute column `my_dcmp_spec`.
#> Caused by error in `residuals.mdl_ts()`:
#> ! formal argument "type" matched by multiple actual arguments

Created on 2024-02-05 with reprex v2.1.0

@mitchelloharawild
Copy link
Member

Resolved in b0330e6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants