R/intermittent_ata.r
components.intermittentATA.Rd
Extract estimated states from an intermittentATA model.
# S3 method for intermittentATA
components(object, ...)
An estimated model.
Unused.
A [fabletools::dable()] containing estimated states.
library(intermittentATA)
as_tsibble(fmcgData) %>%
model(crostonata = intermittentATA(value ~ d_trend(type = "M", parQ = 1) + i_trend("A") + intermittent("croston"))) %>% components()
#> Error in transmute(as_tibble(object), !!!syms(kv), !!sym(".model"), cmp = map(!!sym(".fit"), components)): ℹ In argument: `cmp = map(.fit, components)`.
#> Caused by error in `left_join()`:
#> ! could not find function "left_join"