Closed robjhyndman closed 4 months ago
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
Resolved in b0330e6e2bea58910dc7946c24a16de39d53214d
Created on 2024-02-05 with reprex v2.1.0