Histogram of residuals for detecting violation of normality assumption.

ols_plot_resid_hist(model)

Arguments

model

An object of class lm.

Deprecated Function

ols_rsd_hist() has been deprecated. Instead use ols_plot_resid_hist().

See also

Other residual diagnostics: ols_plot_resid_box, ols_plot_resid_fit, ols_plot_resid_qq, ols_test_correlation, ols_test_normality

Examples

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