outlierTest(model, ...)
## S3 method for class 'lm':
outlierTest(model, cutoff=0.05, n.max=10, order=TRUE,
labels=names(rstudent), ...)
## S3 method for class 'outlierTest':
print(x, digits=5, ...)lm or glm model object.cutoff are not reported, unless no observations are
nominated, in which case the one with the largest Studentized
residual is reported.10).TRUE).outlierTest object.outlierTest, which is normally just
printed.lm method works for glm objects. To show all
of the observations set cutoff=Inf and n.max=Inf.outlierTest(lm(prestige ~ income + education, data=Duncan))Run the code above in your browser using DataLab