title: lm() linear model - attributes
body: <p>So I get a bit confused by the lm()-command. I tried it with <code>lm(x~y, mydata)</code> and <code>lm(y~x, mydata)</code> and I got different output.
  So is that just which variable to use as x and which one to use as y? I'm sorry to ask such a noob question but I am not sure and I coulnd't find anything explaining the parameters of that command!</p>