Skip to content
Prev 247235 / 398503 Next

add a linear regression line to the plot

Hi,
should be

abline(lm(y~x),col="red",lwd=1.5)

hth.

Am 13.01.2011 09:35, schrieb wangxipei: