goodNum: goodNum

Usage Arguments

View source: R/tools.R

Usage

1
goodNum(numbers, digits = 2, percent = FALSE, ...)

Arguments

numbers

a number (float or int) or a vector of numbers

digits

number of digits after fraction for float numbers. Defaults to 2.

percent

(bool) show the

This function creates a nice representation of a given (vector of) number. goodNum(c(12, 22.1, 112112.119)) goodNum(c(12000, 1002000, 3454)) formatC formating


etabari/ehsanr documentation built on Aug. 5, 2019, 4:07 p.m.