[R] AIC v. extractAIC

Ryan Briscoe Runquist rdbriscoe at ucdavis.edu
Fri Dec 7 01:14:17 CET 2007


Hello,

I am using a simple linear model and I would like to get an AIC value.  I
came across both AIC() and extractAIC() and I am not sure which is best to
use.  I assumed that I should use AIC for a glm and extractAIC() for lm,
but if I run my model in glm the AIC value is the same if I use AIC() on an
lm object.  What might be going on?  Did I interpret these functions
incorrectly?

Thanks,
Ryan


~~~~~~~~~~~~~~~~~~
Ryan D. Briscoe Runquist
Population Biology Graduate Group
University of California, Davis
rdbriscoe at ucdavis.edu



More information about the R-help mailing list