round: the improved version of base::round function

Description Usage Arguments Examples

View source: R/round.R

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 13, 2017, 10:04 p.m.