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 ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html