title: How to export lm summary to data frame using broom after modifying object with lm.beta?
body: <p>I did regression analysis and then standardized it by using <code>lm.beta::lm.beta()</code>This way, it adds a column called Standardized to the result, which looks like below:</p>
  
  <pre><code>  lmfit &lt;- lm(mpg ~ cyl + disp + hp + wt, data = mtcars)
    lmfit2 &lt;- lm.beta::lm.beta(lmfit)
    summary(lmfit2)
              Estimate   Standardized Std. Error  t value  Pr(&gt;|t|)
  (Intercept) 40.82854   0.0000000    2.75747     14.807   1.76e-14    
  cyl         -1.29332   -0.38324     0.65588     -1.972   0.058947
  ...
  </code></pre>
  
  <p>I want to convert it to dataframe so I can save it to Excel. I used <code>tidy</code> from <code>library(broom)</code> But it messed up with the headers. </p>
  
  <pre><code>term        estimate   std.error    statistic   p.value  
  (Intercept) 40.82854   0.0000000    2.75747     14.807   1.76e-14    
  SP500TR     -1.29332   -0.38324     0.65588     -1.972   0.058947
  ...
  </code></pre>
  
  <p>As you can see, the std.error column is actually Standardized etc. How to fix the headers? Many thanks! </p>