influencePlot(model, ...)
## S3 method for class 'lm':
influencePlot(model, scale=10,
xlab="Hat-Values", ylab="Studentized Residuals",
labels, id.method = "noteworthy",
id.n = if(id.method[1]=="identify") Inf else 0,
id.cex=1, id.col=palette()[1], ...)
link{showLabels}
for details. To omit point labelling, set
id.n=0
, the default. The default id.method="noteworthy"
is used
only in this function and indicates setting labels forplot
and points
functions.cooks.distance
, rstudent
,
hatvalues
, showLabels
influencePlot(lm(prestige ~ income + education, data=Duncan))
Run the code above in your browser using DataLab