[R] Accessing lme source code

Berton Gunter gunter.berton at gene.com
Tue Jun 6 20:19:01 CEST 2006


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: r-help-bounces at stat.math.ethz.ch 
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Yang, Richard
> Sent: Tuesday, June 06, 2006 11:03 AM
> To: r-help at 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 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