infIndexPlot(model, ...)
influenceIndexPlot(model, ...)
## S3 method for class 'lm':
infIndexPlot(model,
vars=c("Cook", "Studentized", "Bonf", "hat"),
main="Diagnostic Plots",
labels, id.method = "y",
id.n = if(id.method[1]=="identify") Inf else 0,
id.cex=1, id.col=palette()[1], grid=TRUE, ...)lm or glm."Cook"
for Cook's distances, "Studentized" for Studentized
residuals, "Bonf" for Bonferroni p-values for an outlier test, and
and "hat" foid.n=0 for labeling no points. See
showLabels for details of these arguments.plotcooks.distance, rstudent,
outlierTest, hatvaluesm1 <- lm(prestige ~ income + education + type, Duncan)
influenceIndexPlot(m1)Run the code above in your browser using DataLab