r-lib/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

Maintainer
LicenseMIT + file LICENSE
Version1.2.0.9000
URL https://github.com/r-lib/prettyunits http://r-lib.github.io/prettyunits/
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("r-lib/prettyunits")
r-lib/prettyunits documentation built on March 9, 2024, 5:03 p.m.