Re: [R] Correlated Columns in data frame

2008-05-17 Thread Abhijit Dasgupta
The line in question randomly decides which of the two correlated columns to drop. If C1 and C2 are correlated you could drop either one, the code decides which randomly, which is a principled way to do this. This does mean that repeated runs of this code will give you different results, but th

[R] Correlated Columns in data frame

2008-05-16 Thread Nataraj
Dear all, Sorry to post my query once again in the list, since I did not get attention from anyone in my previous mail to this list. Now I make it simple here that please give me a code for find out the columns of a dataframe whose correlation coefficient is below a pre-determined threshold. (For