Urmi Trivedi
2007-Jul-24 17:16 UTC
[R] Fitting the best line to the plot of distance vs. correlation matrix
Hi all, Thanks for your help in generating the matrix of distance vs correlation. I did it using plot(as.vector(as.matrix(cormat)), as.vector(as.matrix(distmat))) Now I want to quantitate the same. May be on linear regression or some other statistical functions. I have tried using linmod for linear regression. But as I have two matrices in the form of the dataframes, I'm wondering if it is the right way to do it in this? Or are there even better options than this available. Can anyone please help me for that. Thanks. Urmi --------------------------------- Once upon a time there was 1 GB storage in your inbox. Click here for happy ending. [[alternative HTML version deleted]]