rounddx: Rounds number to nearest increment.

Description Usage Arguments Value

View source: R/round.R

Description

Instead of rounding a number to the nearest nth decimal place, this function rounds to the neares multiple of dx.

Usage

1
rounddx(x, dx = 1)

Arguments

x

Number to be rounded.

dx

Increment to be rounded.

Value

Rounded number.


tunelipt/wutils documentation built on Nov. 5, 2019, 11:01 a.m.