title: Iinear regression equation
body: <p>I have two variables and would like to demonstrate the linear regression between them. For some reason R is not accepting the equation. Can anyone tell me what I'm doing wrong? </p>
  
  <p>thanks in advance... </p>
  
  <pre><code>linregression &lt;- lm(Variable A ~ Variable B)
  print(linregression)
  summary(linregression)
  coefficients(linregression)
  </code></pre>