powered by
Round to multiple of any number.
round_any(x, accuracy, f = round)
numeric or date-time (POSIXct) vector to round
number to round to; for POSIXct objects, a number of seconds
rounding function: floor, ceiling or round
floor
ceiling
round
round_any(1.865, accuracy = .25)
Run the code above in your browser using DataLab