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@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
______________________________________________
R-help@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.