[R] Rcorr

Frank E Harrell Jr f.harrell at vanderbilt.edu
Wed Jul 1 15:24:09 CEST 2009


James Allsopp wrote:
> Hi,
> I've just run an rcorr on some data in Spearman's mode and it's just
> produced the following values;
>       [,1]  [,2]
> [1,]  1.00 -0.55
> [2,] -0.55  1.00
> 
> n= 46
> 
> 
> P
>      [,1] [,2]
> [1,]       0
> [2,]  0
> 
> I presume this means the p-value is lower than 0.00005, but is there any
> way of increasing the number of significant figures used? How should I
> interpret this value?
> 
> Cheers
> Jim
> 

Try options(digits=15) before running rcorr().

-- 
Frank E Harrell Jr   Professor and Chair           School of Medicine
                      Department of Biostatistics   Vanderbilt University




More information about the R-help mailing list