Re: [R] See source code for survplot function in Design package

2009-02-06 Thread Dieter Menne
Marc Schwartz marc_schwartz at comcast.net writes: getAnywhere(function.method) Which also works without the getAnywhere(xtabs) getAnywhere(xtabs) Dieter __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

[R] See source code for survplot function in Design package

2009-02-05 Thread Eleni Rapsomaniki
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

Re: [R] See source code for survplot function in Design package

2009-02-05 Thread Dieter Menne
Eleni Rapsomaniki e.rapsomaniki at mail.cryst.bbk.ac.uk writes: 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)? Just

Re: [R] See source code for survplot function in Design package

2009-02-05 Thread Frank E Harrell Jr
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

Re: [R] See source code for survplot function in Design package

2009-02-05 Thread Marc Schwartz
on 02/05/2009 10:54 AM 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

Re: [R] See source code for survplot function in Design package

2009-02-05 Thread David M Smith
Uwe Ligges actually had a nice write-up on finding source code for functions like this in R-news a couple of years ago. You can find it here: http://cran.r-project.org/doc/Rnews/Rnews_2006-4.pdf (see p44) There are some other tips for finding R source code here: