Plot the Cook's distance of a linear regression model
Plot the Cook's distance of a linear regression model.
cookplot(model, index = NULL)
model |
The model to be plotted. |
index |
The index of the variable used for for the x-axis. |
require (datasets) data (trees) model = LINREG (trees [, -3], trees [, 3]) cookplot (model)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.