broomify | R Documentation |
broom::augment a model and add broom::glance and broom::tidy output as attributes. X and Y variables are also added.
broomify(model, lmStars = TRUE)
model |
model to be sent to |
lmStars |
boolean that determines if stars are added to labels |
broom::augmented data frame with the broom::glance data.frame and broom::tidy data.frame as 'broom_glance' and 'broom_tidy' attributes respectively. var_x
and var_y
variables are also added as attributes
data(mtcars)
model <- stats::lm(mpg ~ wt + qsec + am, data = mtcars)
broomified_model <- broomify(model)
str(broomified_model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.