ols_plot_resid_lev: Studentized residuals vs leverage plot

Description Usage Arguments Deprecated Function See Also Examples

View source: R/ols-rstud-vs-lev-plot.R

Description

Graph for detecting outliers and/or observations with high leverage.

Usage

1
ols_plot_resid_lev(model, print_plot = TRUE)

Arguments

model

An object of class lm.

print_plot

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

Deprecated Function

ols_rsdlev_plot() has been deprecated. Instead use ols_plot_resid_lev().

See Also

[ols_plot_resid_stud_fit()], [ols_plot_resid_lev()]

Examples

1
2
model <- lm(read ~ write + math + science, data = hsb)
ols_plot_resid_lev(model)

olsrr documentation built on Feb. 10, 2020, 5:07 p.m.