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*

[R] viewing function code

2010-05-21 Thread Data Analytics Corp.
Hi, I want to view the code for the function confint in the stats package. Typing just confint doesn't work. How can I view the code? Thanks, Walt Walter R. Paczkowski, Ph.D. Data Analytics Corp. 44 Hamilton Lane Plainsboro, NJ 08536 (V) 6

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
To: r-help@r-project.org Subject: [R] Viewing Function Code Hi All, 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) [

[R] Viewing Function Code

2009-09-15 Thread Michael Pearmain
Hi All, 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 asterisked > barplot2 f

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

[R] Viewing function code

2009-08-10 Thread Werner W.
Hi, in the quest of learning from others' codes, I am still stumbling over the problem how to view some of the functions. I know about methods() & getAnywhere(), showMethods(), getMethods() but I still cannot view every function. How would I look at the code of the "merge" function? Thanks a m