[R round to nearest .5 or .1](https://stackoverflow.com/questions/8664976/r-round-to-nearest-5-or-1)
– user2974951Dec 22 '21 at 14:16
[Rounding numbers to nearest 10 in R](https://stackoverflow.com/questions/18492836/rounding-numbers-to-nearest-10-in-r?noredirect=1&lq=1)
– user2974951Dec 22 '21 at 14:17
1 Answers1
0
Divide the number by 10, round using either floor or ceil and then multiply by 10.