Description Usage Arguments Value Examples
This function takes in a fitted model objects, determines the type of the object, and processes it accordingly
1 2 | extract_df(regression_model, guess_model_type = NULL, include.intercept = T,
include.confint = F, ...)
|
regression_model |
The inputed model to be processed |
include.confint |
Include the confidence interval estimates. Default FALSE. |
guess_object_type |
If type not supported can try to guess from a similar object. Currently knows c("lm", "glm", "merModLmerTest", "lmerMod") |
a data.frame object with predictor names and estimates
1 2 3 | test_data = data.frame(predictor = 1:10, outcome = rnorm(10))
test_model = lm(outcome ~ predictor, data = test_data)
extract_df(test_model)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.