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