alex hayes on X: "need to sanity check residuals in a multiple regression? # broom has your back: library(tidyverse) fit <- lm(hp ~ ., mtcars) au <- broom::augment(fit) au %>% gather(x, val, -contains(".")) %>%
Curve fitting on batches in the tidyverse: R, dplyr, and broom | R-bloggers
Augment data with information from a(n) lm object — augment.lm • broom