Skip to content
Prev 313882 / 398506 Next

Regression line does not show on scatterplot

You swapped the x and y variables in the plot command.

lm(y~ x)
but
plot(x, y)

On Tue, Dec 18, 2012 at 3:09 PM, Beatriz Gonz?lez Dom?nguez
<harimaguadas at gmail.com> wrote:
--
Sarah Goslee
http://www.functionaldiversity.org