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*
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
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
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)
[
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
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
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
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
8 matches
Mail list logo