Learn R Programming

olsrr (version 0.5.0)

ols_plot_resid_box: Residual box plot

Description

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

Usage

ols_plot_resid_box(model)

Arguments

model

An object of class lm.

Deprecated Function

ols_rsd_boxplot() has been deprecated. Instead use ols_plot_resid_box().

See Also

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

Examples

Run this code
# NOT RUN {
model <- lm(mpg ~ disp + hp + wt, data = mtcars)
ols_plot_resid_box(model)

# }

Run the code above in your browser using DataLab