gglm
gglm copied to clipboard
Add more aesthetics (esp. colour)
Residual analysis with categorical predictors should always look at the residuals for different categories. Currently, I cannot see a way to add a colour aesthetic.
Example of expected use:
mylm <- lm(mpg ~ wt*am, data = mtcars)
gglm(mylm, colour = am) # or
gglm(mylm) + aes(colour = am)
Great package, by the way!
This is a great feature request. This is on my list for the next couple weeks!