controlled_rounding_off_5: Controlled rounding off numbers

Description Usage Arguments Author(s) Examples

View source: R/controlled_rounding_off_5.R

Description

Return controlled rounding off numbers

Usage

1

Arguments

a_vector

a vector of positive/negative numbers

Author(s)

Lingyun (Larry) Zhang lyzhang10@gmail.com

Examples

1
2
3
4
x <- rnorm(10, mean = 10, sd = 10)
y <- controlled_rounding_off_5(a_vector = x)
(c(sum(x), sum(y)))
(z <- cbind(x, y))

zhanglynz/myhelper documentation built on Sept. 26, 2021, 3:33 a.m.