ols_plot_resid_fit: Residual vs fitted plot

Description Usage Arguments Details Deprecated Function See Also Examples

Description

Scatter plot of residuals on the y axis and fitted values on the x axis to detect non-linearity, unequal error variances, and outliers.

Usage

1

Arguments

model

An object of class lm.

Details

Characteristics of a well behaved residual vs fitted plot:

Deprecated Function

ols_rvsp_plot() has been deprecated. Instead use ols_plot_resid_fit().

See Also

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

Examples

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

cmlopera/olsrr documentation built on May 26, 2019, 10:34 a.m.