powered by
Graph for detecting outliers and/or observations with high leverage.
ols_plot_resid_lev(model, print_plot = TRUE)
An object of class lm.
lm
logical; if TRUE, prints the plot else returns a plot object.
TRUE
ols_rsdlev_plot() has been deprecated. Instead use ols_plot_resid_lev().
ols_rsdlev_plot()
ols_plot_resid_lev()
[ols_plot_resid_stud_fit()], [ols_plot_resid_lev()]
model <- lm(read ~ write + math + science, data = hsb) ols_plot_resid_lev(model)
Run the code above in your browser using DataLab