title: How to round up to whole number in R?
body: <p>Is it possible to round up to the nearest whole number in R? I have time-stamped data and I want to round up to the nearest whole minute, to represent activities during this minute.</p>
  
  <p>For example, if time is presented in <code>minutes.seconds</code> format:</p>
  
  <pre><code>x &lt;- c(5.56, 7.39, 12.05, 13.10)
  round(x, digits = 0)
  [1]  6  7 12 13
  </code></pre>
  
  <p>My anticipated output would instead be:</p>
  
  <pre><code>round(x, digits = 0)
  [1]  6  8 13 14
  </code></pre>
  
  <p>I understand this is confusing but when I am calculating activity per minute data, rounding up to the nearest minute makes sense. Is this possible?</p>