Tidy a ATA model

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

Arguments

x

An estimated model.

...

Unused.

Value

The model's coefficients in a `tibble`.

Examples

library(fable.ata)
as_tsibble(USAccDeaths) %>%
  model(ata = AutoATA(value ~ trend("A") + season("M"))) %>% tidy()
#> # A tibble: 9 × 3
#>   .model term          estimate
#>   <chr>  <chr>         <chr>   
#> 1 ata    p             14      
#> 2 ata    q             2       
#> 3 ata    phi           0.6     
#> 4 ata    trend         Ad      
#> 5 ata    seasonal      M       
#> 6 ata    period        12      
#> 7 ata    decomp_model  decomp  
#> 8 ata    initial_level NA      
#> 9 ata    initial_trend NA