title: Stargazer variable headings for multiple linear models
body: <p>I have multiple linear models with the same dependent variables (Y) and a varying explanatory variables that I need to summarize in a table. However, stargazer adds the same Ys to the heading for each group of explanatory variables making the table unnecessarily wide. Is there anyway I can prevent this?</p>
  
  <pre><code># control dummies
  jan &lt;- a$january
  mon &lt;- a$monday
  
  
  
  
  y1 &lt;- a$1
  y2 &lt;- a$2
  y3 &lt;- a$3
  
  x1 &lt;- a$4
  x2 &lt;- a$5
  x3 &lt;- a$6
  m11 &lt;- lm(y1~x1+jan+mon)
  m21 &lt;- lm(y2~x1+jan+mon)
  m21 &lt;- lm(y3~x1+jan+mon) 
  m12 .... .... m33
  </code></pre>
  
  <p>My current guess is that it's due to the fact that I don't specify the data = in the lm model and the fact that some of the explanatory variables have less observations.</p>