Extracts the fitted values.
Usage
# S3 method for LOGISTIC
fitted(object, ...)
Examples
melb_rain |>
model(logistic = LOGISTIC(Wet ~ fourier(K = 5, period = "year"))) |>
fitted()
#> # A tsibble: 4,322 x 3 [1D]
#> # Key: .model [1]
#> .model Date .fitted
#> <chr> <date> <dbl>
#> 1 logistic 2000-01-01 0.261
#> 2 logistic 2000-01-02 0.261
#> 3 logistic 2000-01-03 0.260
#> 4 logistic 2000-01-04 0.259
#> 5 logistic 2000-01-05 0.259
#> 6 logistic 2000-01-06 0.258
#> 7 logistic 2000-01-07 0.258
#> 8 logistic 2000-01-08 0.258
#> 9 logistic 2000-01-09 0.257
#> 10 logistic 2000-01-10 0.257
#> # ℹ 4,312 more rows