[R] How to request AIC information from "lm" object?

Christian Ritz ritz at kvl.dk
Fri Jun 9 08:30:10 CEST 2006


Hi Michael,

use: extractAIC to get AIC from an lm object:

y <- rnorm(10)
extractAIC(lm(y~1))



Christian



More information about the R-help mailing list