[R] cross-correlation table with subscript or superscript to indicate significant differences

2011-05-05 Thread yoav baranan
Hi, I wonder whether the following is possible with R, and whether anyone has done that and can share his/her code with me. I have a correlation matrix, and I want to create a correlation table that I can copy to Microsoft Word with a superscript above each correlation, indicating significant

Re: [R] cross-correlation table with subscript or superscript to indicate significant differences

2011-05-05 Thread David Winsemius
On May 5, 2011, at 10:48 AM, yoav baranan wrote: Hi, I wonder whether the following is possible with R, and whether anyone has done that and can share his/her code with me. I have a correlation matrix, and I want to create a correlation table that I can copy to Microsoft Word with a

Re: [R] cross-correlation table with subscript or superscript to indicate significant differences

2011-05-05 Thread David Winsemius
On May 5, 2011, at 12:40 PM, yoav baranan wrote: Here is an example for my earlier question. Say you have a 3x3 correlation matrix: corrs - matrix(c(0.25,0.32,0.66,0.14,0.24,0.34,0.44,0.34,0.11), nrow=3, ncol=3, dimnames = list(c('varA','varB', 'varC'), c('varA','varB', 'varC'))) And

Re: [R] cross-correlation table with subscript or superscript to indicate significant differences

2011-05-05 Thread yoav baranan
Here is an example for my earlier question. Say you have a 3x3 correlation matrix:corrs - matrix(c(0.25,0.32,0.66,0.14,0.24,0.34,0.44,0.34,0.11), nrow=3, ncol=3, dimnames = list(c('varA','varB', 'varC'), c('varA','varB', 'varC')))And another matrix for the sample size of each