[R] How to calculate average correlation coefficient of a correlation matrix ?

2009-10-13 Thread Amit Kumar
Hi! All, I have large correlation matrix Cor. I wish to calculate average correlation coefficient for this matrix. Is there any function in R to do this? Thanks in advance. Amit __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/

Re: [R] removing missing values from a matrix

2009-10-02 Thread Amit Kumar
8022 758023 758024 758025 758026 ... >  $ (36.7,40.7] : int [1:23688, 1:4] 852769 852770 852771 852772 852773 > 852774 852775 852776 852777 852778 ... >  $ (40.7,44.7] : int [1:23688, 1:4] 947521 947522 947523 947524 947525 > 947526 947527 947528 947529 947530 ... > > > On Thu, O

Re: [R] removing missing values from a matrix

2009-10-01 Thread Amit Kumar
here any efficient way to do it? cheers! Amit > > On Thu, 1 Oct 2009, Amit Kumar wrote: > >> Hi! All, >> I am working with a large matrix of dimension 23689 x 162. Some of the >> values of this matrix is missing (NA). And it looks something like >> that: >>

[R] removing missing values from a matrix

2009-10-01 Thread Amit Kumar
Hi! All, I am working with a large matrix of dimension 23689 x 162. Some of the values of this matrix is missing (NA). And it looks something like that: >dim(red) 23689 162 >red [,1] [,2] [,3] [,4] [,5] [1,]2 NA4 9 6 [2,]5 NA6 NA 1 [3,] NA

[R] merging columns from a large data set

2009-09-26 Thread Amit Kumar
Hi! All I am trying to merge very large data sets. Here fullset1 contains 13 data sets. Each data set has columns which I need to merge. Here I am trying to merge columns 2,6,10,14till end for all 13 data sets in fullset1. But I am only getting 2nd column here. Rchan1 = sapply(1:length(fullse