round_to_interval {evprof} | R Documentation |
Round to nearest interval
Description
Round to nearest interval
Usage
round_to_interval(dbl, interval)
Arguments
dbl |
number to round |
interval |
rounding interval |
Value
numeric value
Examples
set.seed(1)
random_vct <- rnorm(10, 5, 5)
round_to_interval(random_vct, 2.5)
[Package evprof version 1.1.2 Index]