interval_round: Interval round

View source: R/Interval_round.R

interval_roundR 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))


vvconverter documentation built on June 22, 2024, 10:53 a.m.