title: R Kable splitting the column names up oddly
body: <p>I am getting bizarre formatting using <code>kable.</code></p>
  
  <pre><code>  make.tab = function(res,true){
    avg.res = round(apply(res,2,mean),2)
    tab = rbind(avg.res,true)
    #rownames(tab)  = c('Samples','Truth')
    t(tab)
  }
  </code></pre>
  
  <p>Then I source this function into an Rmarkdown notebook.</p>
  
  <pre><code>source('hepler.R')
  mt = make.tab(res, true)
  kable(mt)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/cLseR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cLseR.png" alt="enter image description here"></a></p>