Re: [R] viewing function code

2010-05-21 Thread David Winsemius
Which function? > getAnywhere(confint) A single object matching ‘confint’ was found It was found in the following places package:stats namespace:stats with value function (object, parm, level = 0.95, ...) UseMethod("confint") > methods(confint) [1] confint.default confint.glm*

Re: [R] Viewing Function Code

2009-09-15 Thread Tobias Verbeke
Michael Pearmain wrote: I'd like to see the function code behind the barplots2() function in the gplots package, however i come across a bit of a stumbling block of a hidden function, can anyone help? library(gplots) methods(barplot2) [1] barplot2.default* Non-visible functions are asteri

Re: [R] Viewing Function Code

2009-09-15 Thread Erik Iverson
See the reference to ?getAnywhere in the following post: http://www.nabble.com/The-code-behind-the-function-td25370743.html -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Michael Pearmain Sent: Tuesday, September 15, 2009 3:14 PM

Re: [R] Viewing function code

2009-08-10 Thread Werner W.
Brilliant, that works! Thanks a lot for the quick help, Werner Dimitris Rizopoulos-4 wrote: > > well, you almost have it -- try this: > > # two methods for the merge generic > methods(merge) > > merge.default > merge.data.frame > > > I hope it helps. > > Best, > Dimitris > > -- Vie

Re: [R] Viewing function code

2009-08-10 Thread Dimitris Rizopoulos
well, you almost have it -- try this: # two methods for the merge generic methods(merge) merge.default merge.data.frame I hope it helps. Best, Dimitris Werner W. wrote: Hi, in the quest of learning from others' codes, I am still stumbling over the problem how to view some of the functions