Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

iround

Round numbers to specified interval


Description

Round numbers to specified interval

Usage

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

Enhanced Quantitative Trading Modelling

v0.5.7.1
GPL-3
Authors
Stanislav Kovalevsky
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.