powered by
Box plot of residuals to examine if residuals are normally distributed.
ols_plot_resid_box(model, print_plot = TRUE)
An object of class lm.
lm
logical; if TRUE, prints the plot else returns a plot object.
TRUE
Other residual diagnostics: ols_plot_resid_fit(), ols_plot_resid_hist(), ols_plot_resid_qq(), ols_test_correlation(), ols_test_normality()
ols_plot_resid_fit()
ols_plot_resid_hist()
ols_plot_resid_qq()
ols_test_correlation()
ols_test_normality()
model <- lm(mpg ~ disp + hp + wt, data = mtcars) ols_plot_resid_box(model)
Run the code above in your browser using DataLab