iround: Round numbers to specified interval

Description Usage Arguments Value

View source: R/iround.R

Description

Round numbers to specified interval

Usage

1
iround(x, interval)

Arguments

x

numeric vector to be rounded

interval

the interval the values should be rounded towards

Value

A numeric vector with x rounded to the desired interval.


QuantTools documentation built on Oct. 23, 2020, 7:54 p.m.