tidy.mdl_df {fabletools} | R Documentation |
Extract model coefficients from a mable
Description
This function will obtain the coefficients (and associated statistics) for each model in the mable.
Usage
## S3 method for class 'mdl_df'
tidy(x, ...)
## S3 method for class 'mdl_df'
coef(object, ...)
## S3 method for class 'mdl_ts'
tidy(x, ...)
## S3 method for class 'mdl_ts'
coef(object, ...)
Arguments
x , object |
A mable. |
... |
Arguments for model methods. |
Examples
library(fable)
library(tsibbledata)
olympic_running %>%
model(lm = TSLM(log(Time) ~ trend())) %>%
tidy()
[Package fabletools version 0.4.2 Index]