Skip to content
Prev 373593 / 398500 Next

How to Save the residuals of an LM object greater or less than a certin value to an R object?

Also,

which( abs( stdresiduals ) > 2.5 )

will tell you which of the standardized residuals are bigger than 2.5 in absolute value. It returns a vector of indices, as in
[1] 62
[1] 2.548991


-pd