Skip to content
Prev 273164 / 398506 Next

extracting p-values in scientific notation

One point to note, for information, in this discussion is
that cor.test() has apparently returned the P-value as
an exact zero:

  x$p.value == 0
  # [1] TRUE

  identical(x$p.value, 0)
  # [1] TRUE

(which, by the way, I was led to after trying log10(x$p.value)
and getting -Inf). Perhaps a more interesting question is how
cor.test computes the P-value!

Ted.
On 03-Oct-11 08:48:31, Kenn Konstabel wrote:
--------------------------------------------------------------------
E-Mail: (Ted Harding) <ted.harding at wlandres.net>
Fax-to-email: +44 (0)870 094 0861
Date: 03-Oct-11                                       Time: 10:05:50
------------------------------ XFMail ------------------------------