Description Usage Arguments Value Examples
This function processed lm or glm regression
1 | extract_df_lm(lm_model, include.intercept = T, include.confint = F)
|
lm_model |
The inputed lm or glm model to be processed |
include.intercept |
Include the intercept estimate. Default TRUE. |
include.confint |
Include the confidence interval estimates. Default FALSE. |
a data.frame object with predictor names and estimates
1 2 3 4 | test_data = data.frame(predictor = 1:10, outcome = rnorm(10))
test_model = lm(outcome ~ predictor, data = test_data)
extract_df_lm(test_model)
extract_df_lm(test_model, include.intercept = F)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.