gglm icon indicating copy to clipboard operation
gglm copied to clipboard

Add more aesthetics (esp. colour)

Open DBecker7 opened this issue 3 years ago • 1 comments

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!

DBecker7 avatar Dec 07 '20 19:12 DBecker7

This is a great feature request. This is on my list for the next couple weeks!

graysonwhite avatar Dec 09 '20 21:12 graysonwhite