humanreadable: Make a number human readable

Description Usage Arguments Value Examples

View source: R/helper-humanreadable.R

Description

Make a number human readable

Usage

1
humanreadable(x, base = 10^3, suffix = "", signif_digits = 3)

Arguments

x

Number.

base

typically 1000 or 2^10.

suffix

Will be concatendated to the end.

signif_digits

Number of significant digits.

Value

human readable representation of the number

Examples

1
humanreadable(1234.567)

fbreitwieser/pavian documentation built on Oct. 15, 2018, 11:06 a.m.