[R] Extracting t values from object of class `"pairwise.htest"'

Marc Schwartz mschwartz at medanalytics.com
Thu Oct 10 20:57:05 CEST 2002


> -----Original Message-----
> Achim Zeileis writes:
>  > Sven Garbade wrote:
>  > >
>  > > Hi,
>  > >
>  > > can I extract the p-values after a pairwise comparision with
>  > > pairwise.t.test()? The object of class "pairwise.htest".
>  >
>  > This is a list with one component being "p.value". You can extract
it as
>  > usual with
>  >   pairwise.t.test()$p.value
> 
> Sorry, I don't mean the p-values, but the t-values.

That would be:

pairwise.t.test(...)$statistic

Look at ?t.test and scroll to the "Value" section which defines the list
components returned.

HTH.

Marc



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list