roundToMult: Round to Specified Multiple

Description Usage Arguments Value

View source: R/transition.R

Description

Round a vector to the nearest user-specified multiple.

Usage

1

Arguments

v

A vector of values to be rounded.

m

A multiple to round values to.

Value

A vector of values rounded to the nearest multiple, m.


austinnam/modeltools documentation built on Aug. 3, 2019, 7:20 p.m.