[R] Rounding to the nearest 5

Steve Murray smurray444 at hotmail.com
Mon Aug 17 12:18:38 CEST 2009


Dear all,

A hopefully simple question: how do I round a series of values (held in an object) to the nearest 5? I've checked out trunc, round, floor and ceiling, but these appear to be more tailored towards rounding decimal places.

Thanks,

Steve



_________________________________________________________________

icons.




More information about the R-help mailing list