Skip to contents

Box plot of residuals to examine if residuals are normally distributed.

Usage

ols_plot_resid_box(model, print_plot = TRUE)

Arguments

model

An object of class lm.

print_plot

logical; if TRUE, prints the plot else returns a plot object.

Examples

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