title: Control scientific notation and format of zero values with knitr and tables produced with kable()
body: <p>I have a small table that I am displaying in a pdf document generated by knitr in Rstudio.</p>
  
  <p>Most of the values are small numbers, so scientific notation is fine. However, I have a few zeros that also get displayed in scientific notation.</p>
  
  <p>Is there a way to show these as just regular zeros?</p>
  
  <p>Here is an image: </p>
  
  <p><img src="https://i.stack.imgur.com/Kl79q.png" alt="basic table with scientific notation for zeros"></p>
  
  <p>The table was produced with <code>kable(data)</code></p>