View source: R/summary_tibble.R
summary_tibble | R Documentation |
This function takes a lm or glm model or model summary object and returns a tibble with key measures of interest (e.g., coefficient estimate, p-values). These measures may change depending on the type of model.
summary_tibble(x, stars = TRUE, clean = FALSE, p_name = NULL)
x |
Model or model summary object. |
stars |
Create 'stars' column containing asterisks indicating significance. |
clean |
Clean names using janitor::clean_names. FALSE by default. |
p_name |
Optional. Name of p-value column. If p-values are not in a column named either "Pr(>|t|)" or "Pr(>|z|)", the 'stars' argument will not work without this argument. |
A tibble
m1 <- lm(mpg ~ cyl + hp + wt, data = mtcars)
summary_tibble(m1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.