hypothesize.mdl_df: Run a hypothesis test from a mable

View source: R/hypothesise.R

hypothesize.mdl_dfR 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()


fabletools documentation built on Oct. 12, 2023, 1:07 a.m.