View source: R/ols-potential-residual-plot.R
ols_plot_resid_pot | R Documentation |
Plot to aid in classifying unusual observations as high-leverage points, outliers, or a combination of both.
ols_plot_resid_pot(model, print_plot = TRUE)
model |
An object of class |
print_plot |
logical; if |
Chatterjee, Samprit and Hadi, Ali. Regression Analysis by Example. 5th ed. N.p.: John Wiley & Sons, 2012. Print.
ols_plot_hadi()
model <- lm(mpg ~ disp + hp + wt, data = mtcars)
ols_plot_resid_pot(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.