For a mable with a single model column, return the model components that are indexed by time.
Examples
aus_mortality |>
dplyr::filter(State == "Victoria", Sex == "female") |>
model(lee_carter = LC(log(Mortality))) |>
time_components()
#> # A tsibble: 120 x 5 [1Y]
#> # Key: Sex, State, Code [1]
#> Sex State Code Year kt
#> <chr> <chr> <chr> <int> <dbl>
#> 1 female Victoria VIC 1901 111.
#> 2 female Victoria VIC 1902 111.
#> 3 female Victoria VIC 1903 109.
#> 4 female Victoria VIC 1904 100.
#> 5 female Victoria VIC 1905 98.8
#> 6 female Victoria VIC 1906 104.
#> 7 female Victoria VIC 1907 97.0
#> 8 female Victoria VIC 1908 100.
#> 9 female Victoria VIC 1909 89.6
#> 10 female Victoria VIC 1910 91.2
#> # ℹ 110 more rows