I think what i want is code in C or Java.  But thanks though.

On 12/11/06, Charles C. Berry <[EMAIL PROTECTED]> wrote:
> On Mon, 11 Dec 2006, Weiwei Shi wrote:
>
> > Hi, there:
> >
> > for some reason, I need to look at t.test at coding level. Can anyone
> > here suggest a place to start with?
>
> You mean how to read the code??
>
> Like this:
>
> > t.test # print the function
> function (x, ...)
> UseMethod("t.test")
> <environment: namespace:stats>
> > # that told me 't.test' has S3 methods
> > methods(t.test)
> [1] t.test.default* t.test.formula*
>
>     Non-visible functions are asterisked
> > # that told me what they were
> > # and that I need ':::' to see them
> > page(stats:::t.test.default,"print")
> > page(stats:::t.test.formula,"print")
> > # looks like you want to study t.test.default
>
> see
>         ?methods
>         ?":::"
>
> HTH
>
> > [...]
>
> Charles C. Berry                        (858) 534-2098
>                                           Dept of Family/Preventive Medicine
> E mailto:[EMAIL PROTECTED]            UC San Diego
> http://biostat.ucsd.edu/~cberry/         La Jolla, San Diego 92093-0717
>
>
>


-- 
Weiwei Shi, Ph.D
Research Scientist
GeneGO, Inc.

"Did you always know?"
"No, I did not. But I believed..."
---Matrix III

______________________________________________
R-help@stat.math.ethz.ch 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.

Reply via email to