title: How to round all the values of a prop.table in R in one line?
body: <p>In R 3.4.0, how can I round all the percentages generated by prop.table() to 3 decimal places in one line?</p>
  
  <p>This does not work:</p>
  
  <pre><code>MyTable$MyCol %&gt;% table() %&gt;% prop.table()*100 %&gt;% round(.,3)
  
          -7          -2          0          1          2          3         4         5 
   0.4672897  0.2336449 31.7757009  1.6355140 44.3925234 20.3271028  0.4672897  0.7009346 
  </code></pre>
  
  <p>expected something like:</p>
  
  <pre><code>   -7     -2    0       1      2     3       4      5 
   0.467  0.233 31.775 1.635 44.392 20.327  0.467  0.700 
  </code></pre>