Tidy a intermittentATA model

# S3 method for intermittentATA
tidy(x, ...)

Arguments

x

An estimated model.

...

Unused.

Value

The model's coefficients in a `tibble`.

Examples

library(intermittentATA)
as_tsibble(fmcgData) %>%
    model(crostonata = intermittentATA(value ~ d_trend(type = "M", parQ = 1) + i_trend("A") + intermittent("croston"))) %>% tidy()
#> # A tibble: 2 × 2
#>   .model     .tidied         
#>   <chr>      <named list>    
#> 1 crostonata <tibble [9 × 2]>
#> 2 crostonata <tibble [9 × 2]>