prettyunits: Pretty, Human Readable Formatting of Quantities

Pretty, human readable formatting of quantities. Time intervals: '1337000' -> '15d 11h 23m 20s'. Vague time intervals: '2674000' -> 'about a month ago'. Bytes: '1337' -> '1.34 kB'. Rounding: '99' with 3 significant digits -> '99.0' p-values: '0.00001' -> '<0.0001'. Colors: '#FF0000' -> 'red'. Quantities: '1239437' -> '1.24 M'.

Getting started

Package details

AuthorGabor Csardi [aut, cre], Bill Denney [ctb] (<>), Christophe Regouby [ctb]
MaintainerGabor Csardi <>
LicenseMIT + file LICENSE
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the prettyunits package in your browser

Any scripts or data that you put into this service are public.

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