Histogram of residuals for detecting violation of normality assumption.

hist_resid(model)

Arguments

model
an object of class lm

Examples

model <- lm(mpg ~ disp + hp + wt, data = mtcars) hist_resid(model)