[R] how to get condition number from lm output
Mai Zhou
mai at uky.edu
Fri Oct 3 11:26:38 CEST 2003
Dear r-help,
I ran
output <- lm(formu, data=mydata)
I want to look at the condition number (to see if the matrix is near singular). How?
Also, I use the function stepAIC from MASS to select models, how can I see the condition numbers in each step?
While I am at it. I find a minor bug:
R 1.7.1 on window XP, when you copy and paste by click
one button, then the input stopped, until you click the
"copy and paste" button again and click OK.
Thanks in advance.
Mai Zhou
mai at ms.uky.edu
More information about the R-help
mailing list