ols_plot_resid_qq: Residual QQ plot

View source: R/ols-residual-qqplot.R

ols_plot_resid_qqR Documentation

Residual QQ plot

Description

Graph for detecting violation of normality assumption.

Usage

ols_plot_resid_qq(model, print_plot = TRUE)

Arguments

model

An object of class lm.

print_plot

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

See Also

Other residual diagnostics: ols_plot_resid_box(), ols_plot_resid_fit(), ols_plot_resid_hist(), ols_test_correlation(), ols_test_normality()

Examples

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


olsrr documentation built on May 29, 2024, 12:35 p.m.