[R] Column notation
    rajaa at uchicago.edu 
    rajaa at uchicago.edu
       
    Wed May 17 19:25:20 CEST 2006
    
    
  
Hello,
I would like to run a correlation on values in a table that
has 4 rows and 136 columns. However, I am only interested in
correlating the values in alternating blocks of 15 columns.
For example, I would like to correlate the values in row 1,
columns 2-16:31-46:61-76:91-106 with values in row 2, columns
2-16:31-46:61-76:91-106.
Is there a way to notate this in the cor command so that the
function will specify nonsequential values from the table? 
Thanks for any help.
Sincerely,
Anjali
    
    
More information about the R-help
mailing list