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.
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.