[R] probably easy methods question

Edna Bell edna.bell01 at gmail.com
Wed Sep 10 01:24:12 CEST 2008


Dear R Gurus:
I want to look at the code for the t.test function.  I did the following:

> t.test
function (x, ...)
UseMethod("t.test")
<environment: namespace:stats>
> getAnywhere("t.test")
A single object matching 't.test' was found
It was found in the following places
  package:stats
  registered S3 method for t from namespace stats
  namespace:stats
with value

function (x, ...)
UseMethod("t.test")
<environment: namespace:stats>
> methods("t.test")
[1] t.test.default* t.test.formula*

   Non-visible functions are asterisked
>

Ok. Now what, please?  I'm sure it's really simple.

Thanks,
Edna Bell



More information about the R-help mailing list