[R] Select set of variables with strongest correlation

nyk nick at nyk.ch
Thu Jul 16 00:48:53 CEST 2009


What would be a good method to find the subset of columns of a data matrix
(with about 200 rows and columns) that has the strongest correlation to one
other column? I tried testing sub-matrices with random sets of 10 columns
selected using lm(x ~submtrx) and comparing the r^2 values. But isn't there
a better method for this task?
-- 
View this message in context: http://www.nabble.com/Select-set-of-variables-with-strongest-correlation-tp24507332p24507332.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list