round_any: Rounds to arbitrary number.

Description Usage Arguments Value Examples

View source: R/napr.R

Description

Rounds to arbitrary number.

Usage

1
round_any(n, r)

Arguments

n

number to round.

r

value to round to.

Value

numeric.

Examples

1
2
round_any(1.32, .5)
#> 1.5

potterzot/nap-r documentation built on Aug. 14, 2019, 6:23 p.m.