[R] How to look up source code for cor.test()
Ista Zahn
istazahn at gmail.com
Wed May 19 16:44:12 CEST 2010
Hi Will,
You can inspect S3 methods like this:
methods("cor.test")
getS3method("cor.test", "default")
getS3method("cor.test", "formula")
Best,
Ista
On Wednesday 19 May 2010 10:13:50 am Will Eagle wrote:
> Dear all,
>
> how can I check the source code for a hidden function like cor.test()?
>
> At the moment I get ...
>
> > cor.test
>
> function (x, ...)
> UseMethod("cor.test")
> <environment: namespace:stats>
>
> Thanks in advance,
>
> Will
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html and provide commented,
> minimal, self-contained, reproducible code.
More information about the R-help
mailing list