ch.roundUpNice: A function to round pretty

View source: R/ch.roundUpNice.r

ch.roundUpNiceR Documentation

A function to round pretty

Description

This function rounds up numbers pretty.

Usage

ch.roundUpNice(x, nice = c(1, 2, 4, 5, 6, 8, 10))

Arguments

x

the number to be rounded.

Nice

a vector specifying the rounding parameters. The default values should work.

Value

the rounded number.

Examples

cd.roundUpNice (6)

ccpluncw/ccpl_R_chutils documentation built on Feb. 28, 2024, 1:17 a.m.