Hi all,

Being a new user of R I am having some troubles, I hope to get some
solutions.., I have tried looking everywhere but so far not been so
successful.

i have two matrices mat1=[1:26], mat2[1:47]
there are some missing values in mat1[5:6,15:26]

I want to calculate Pearson correlation "r" between mat1 * mat2
and also estimate the significance P-value between mat1 * mat2

By using
> cor(mat1[2:26],mat2[2:47], use="pairwise.complete.obs")
I was able to calcualte the Pearson correlation "r" between mat1 * mat2

I am not able to estimate the significance P-value using cor.test
My Qs are?
How to estimate significance P-value between variables of 2 matrices?
OR
is there any other approach to do this..

any idea or suggestions ??

thank you for your time,
balaji

	[[alternative HTML version deleted]]


