prettyunits: Prettier formatting of quantities

prettyunitsR Documentation

Prettier formatting of quantities

Description

Render quantities with a pretty, human-readable formatting.

  • Time intervals: '1337000' -> '15d 11h 23m 20s'.

  • Vague time intervals: '2674000' -> 'about a month ago'.

  • Bytes: '1337' -> '1.34 kB'.

  • p-values: '0.00001' -> '<0.0001'.

  • Colors: '#FF0000' -> 'red'.

  • Quantities: '1239437' -> '1.24 M'.

Author(s)

Maintainer: Gabor Csardi csardi.gabor@gmail.com

Other contributors:

See Also

Useful links:


prettyunits documentation built on Sept. 25, 2023, 1:07 a.m.