View source: R/fitted.tidyfit.models.R
fitted.tidyfit.models | R Documentation |
tidyfit.models
frameThe function generates fitted values for all models in a tidyfit.models
frame and outputs a tidy frame.
## S3 method for class 'tidyfit.models'
fitted(object, ...)
object |
|
... |
currently not used |
The function uses the 'model_object' column in a tidyfit.model
frame to return fitted values for each model.
A 'tibble'.
Johann Pfitzinger
coef.tidyfit.models
, predict.tidyfit.models
and residuals.tidyfit.models
data <- dplyr::group_by(tidyfit::Factor_Industry_Returns, Industry)
fit <- regress(data, Return ~ ., m("lm"), .mask = "Date")
fitted(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.