[R] lm for log log

Ekaterina Pek ekaterina.pek at gmail.com
Sun Jun 20 14:02:58 CEST 2010


It's rather statistical question than R-question.

There is some linear correlation but the picture "plot(a,b) +
abline(lm(b~a))" is quite crowded in the left lower corner. The
picture "plot(log(a), log(b)) + abline(lm(log(b)~log(a))" is much
nicer ("Milky Way"). Is it correct to use the second kind of picture
for illustration ? I use Spearman's rho and it's the same for both
linear models.


More information about the R-help mailing list