Hello
I am using package Hmisc to calculate the pearson correlation and the
significant level for the matrix of t_i and t_r. (temperature minimum and
temperature range)
However, I have difficulty interpreting the result, even after checking the
manual.
Please kindly help to indicate if the p-value is zero.
Thank you in advance.
Elaine
The code
> library(Hmisc)
> rcorr(as.matrix(datat), type="pearson") # type can be pearson or spearman
The result is
t_i t_r
t_i 1.00 -0.89
t_r -0.89 1.00
n= 4873
P
t_i t_r
t_i 0
t_r 0
>
>
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.