Skip to content
Back to formatted view

Raw Message

Message-ID: <498B29C8.9070001@vanderbilt.edu>
Date: 2009-02-05T18:02:48Z
From: Frank E Harrell Jr
Subject: See source code for survplot function in Design package
In-Reply-To: <20090205165413.17884kw6eyb9x7k0@webmail.cryst.bbk.ac.uk>

Eleni Rapsomaniki wrote:
> Dear R users,
> 
> I know one way to see the code for a hidden function, say function_x, is 
> using default.function_x (e.g. summary.default). But how can I see the 
> code for imported packages that have no namespace (in this case Design)?
> 
> Many Thanks
> Eleni

 > methods(survplot)
[1] survplot.Design
[2] survplot.residuals.psm.censored.normalized
[3] survplot.survfit

Type any one of those function names to see the full code.  Or go to 
http://biostat.mc.vanderbilt.edu/cgi-bin/viewvc.cgi/Design/trunk/ as 
detailed in the home page for Design: 
http://biostat.mc.vanderbilt.edu/s/Design

Frank

> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 


-- 
Frank E Harrell Jr   Professor and Chair           School of Medicine
                      Department of Biostatistics   Vanderbilt University