[R] Source code for "extractAIC"?
Liaw, Andy
andy_liaw at merck.com
Wed Jan 26 18:20:07 CET 2005
Isn't this in the FAQ?
Try:
> methods("extractAIC")
[1] extractAIC.aov* extractAIC.coxph* extractAIC.glm*
extractAIC.lm*
[5] extractAIC.negbin* extractAIC.survreg*
Non-visible functions are asterisked
Then use getAnywhere() or getS3method() to get the particular one you're
interested in.
Andy
> From: Yu Shao
>
> Dear R users:
>
> I am looking for the source code for the R function
> extractAIC. Type the
> function name doesn't help:
>
> > extractAIC
> function (fit, scale, k = 2, ...)
> UseMethod("extractAIC")
> <environment: namespace:stats>
>
> And when I search it in the R source code, the best I can
> find is in (R
> source root)/library/stats/R/add.R:
>
> extractAIC <- function(fit, scale, k = 2, ...) UseMethod("extractAIC")
>
>
> Could anyone point out to me where I can its source code? And my R
> version is:
>
> > version
> _
> platform sparc-sun-solaris2.9
> arch sparc
> os solaris2.9
> system sparc, solaris2.9
> status
> major 1
> minor 9.0
> year 2004
> month 04
> day 12
> language R
>
>
> Thanks,
>
> --
> Yu Shao
> Bioinformatics Group, Wadsworth Research Center
> New York State Department of Health
>
> ______________________________________________
> R-help at 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
>
>
More information about the R-help
mailing list