interval_round {vvconverter}R Documentation

Interval round

Description

Function to round numeric values in a vector to values from an interval sequence.

Usage

interval_round(x, interval)

Arguments

x

The numeric vector to adjust

interval

The interval sequence

Value

The vector corrected for the given interval

See Also

Other vector calculations: academic_year(), clean_multiple_underscores(), month_name(), sum_0_1(), transform_01_to_ft()

Examples

interval_round(c(5, 4, 2, 6), interval = seq(1:4))


[Package vvconverter version 0.5.10 Index]