Learn R Programming

olsrr (version 0.4.0)

ols_potrsd_plot: Potential Residual Plot

Description

Plot to aid in classifying unusual observations as high-leverage points, outliers, or a combination of both.

Usage

ols_potrsd_plot(model)

Arguments

model

an object of class lm

References

Chatterjee, Samprit and Hadi, Ali. Regression Analysis by Example. 5th ed. N.p.: John Wiley & Sons, 2012. Print.

Examples

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

Run the code above in your browser using DataLab