Skip to content

Instantly share code, notes, and snippets.

@juanchiem
Last active March 18, 2021 17:03
Show Gist options
  • Save juanchiem/27183b53372bb72a0b2d83c500e19c29 to your computer and use it in GitHub Desktop.
Save juanchiem/27183b53372bb72a0b2d83c500e19c29 to your computer and use it in GitHub Desktop.
Grammar of Graphics for Linear Model Diagnostics
devtools::install_github("graysonwhite/gglm")
library(gglm) # Load the package
data(mtcars) # Load example data
model <- lm(mpg ~ ., data = mtcars) # Create your model
gglm(model) #
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment