interval_round {vvconverter} | R Documentation |
Function to round numeric values in a vector to values from an interval sequence.
interval_round(x, interval)
x |
The numeric vector to adjust |
interval |
The interval sequence |
The vector corrected for the given interval
Other vector calculations:
academic_year()
,
clean_multiple_underscores()
,
month_name()
,
sum_0_1()
,
transform_01_to_ft()
interval_round(c(5, 4, 2, 6), interval = seq(1:4))