title: Running a regression
body: <p>Background: my data set has 52 rows and 12 columns (assume column names are <code>A</code> - <code>L</code>) and the name of my data set is <code>foo</code></p>
  
  <p>I am told to run a regression where <code>foo$L</code> is the dependent variable, and all other variables are independent except for <code>foo$K</code>.</p>
  
  <p>The way i was doing it is </p>
  
  <pre><code>fit &lt;- lm(foo$L ~ foo$a + ... +foo$J) 
  </code></pre>
  
  <p>then calling </p>
  
  <pre><code>summary(fit)
  </code></pre>
  
  <p>Is my way a good way to run a regression and finding the intercept and coef?</p>