R/hypothesise.R
hypothesize.mdl_df.Rd
This function will return the results of a hypothesis test for each model in the mable.
# S3 method for class 'mdl_df' hypothesize(x, ...) # S3 method for class 'mdl_ts' hypothesize(x, tests = list(), ...)
A mable.
Arguments for model methods.
a list of test functions to perform on the model
library(fable) library(tsibbledata) olympic_running %>% model(lm = TSLM(log(Time) ~ trend())) %>% hypothesize() #> # A tibble: 0 × 3 #> # ℹ 3 variables: Length <int>, Sex <chr>, .model <chr>