round: the improved version of base::round function

Description Usage Arguments Examples

Description

get the number closest to its first argument which can be divided by exactly unit

Usage

1
round(x, unit)

Arguments

x

numeric vectors which will be rounded

unit

the unit which is smaller than x

Examples

1
2
round(12345, 100)
round(1.098, 0.03)

evanwang1990/process documentation built on May 16, 2019, 9:38 a.m.