roundoff: A rounding function that round off numbers in the...

Description Usage Arguments Value

View source: R/1.data_engineering.R

Description

Instead of in R where round(0.5) = 0, roundoff(0.5, 0) = 1

Usage

1
roundoff(x, digits = 2)

Arguments

x

the number

digits

digits, default to 2

Value

rounded numeric vector


unicef-drp/CME.assistant documentation built on Dec. 22, 2020, 7:16 p.m.