hypothesize.mdl_df {fabletools} | R Documentation |
Run a hypothesis test from a mable
Description
This function will return the results of a hypothesis test for each model in the mable.
Usage
## S3 method for class 'mdl_df'
hypothesize(x, ...)
## S3 method for class 'mdl_ts'
hypothesize(x, tests = list(), ...)
Arguments
x |
A mable. |
... |
Arguments for model methods. |
tests |
a list of test functions to perform on the model |
Examples
library(fable)
library(tsibbledata)
olympic_running %>%
model(lm = TSLM(log(Time) ~ trend())) %>%
hypothesize()
[Package fabletools version 0.4.2 Index]