1. You need to learn about S3 methods. ?UseMethod will tell you what you need to know.
2. methods("lme") will tell you the available methods. 3. nlme:::lme.formula will give you the code. -- Bert Gunter Genentech Non-Clinical Statistics South San Francisco, CA "The business of the statistician is to catalyze the scientific learning process." - George E. P. Box > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Yang, Richard > Sent: Tuesday, June 06, 2006 11:03 AM > To: r-help@stat.math.ethz.ch > Subject: [R] Accessing lme source code > > Dear all; > > This an FAQ. I tried to access lme source script so I can step > into it to debug the problems resulting from a lme() call. I used > getAnywhere("lme") or nlme:::lme, both produced only the function > definition and "UseMethod("lme"). > > Any idea how to list the source code? > > TIA, > > Richard Yang > > > > [[alternative HTML version deleted]] > > ______________________________________________ > 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 > ______________________________________________ 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