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

From: Christian Ritz <ritz_at_kvl.dk>
Date: Fri 09 Jun 2006 - 16:30:10 EST

Hi Michael,

use: extractAIC to get AIC from an lm object:

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

Christian



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Jun 09 16:53:14 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sun 11 Jun 2006 - 05:34:52 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.