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] (<https://orcid.org/0000-0002-5759-428X>), Christophe Regouby [ctb]
MaintainerGabor Csardi <csardi.gabor@gmail.com>
LicenseMIT + file LICENSE
Version1.2.0
URL https://github.com/r-lib/prettyunits
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("prettyunits")

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.