View source: R/ols-hadi-plot.R
ols_plot_hadi | R Documentation |
Hadi's measure of influence based on the fact that influential observations can be present in either the response variable or in the predictors or both. The plot is used to detect influential observations based on Hadi's measure.
ols_plot_hadi(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_resid_pot()
model <- lm(mpg ~ disp + hp + wt, data = mtcars)
ols_plot_hadi(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.