Printing Floating Point Numbers in a Human-Friendly Format

Print vectors (and data frames) of floating point numbers using a non-scientific format optimized for human readers. Vectors of numbers are rounded using significant digits, aligned at the decimal point, and all zeros trailing the decimal point are dropped. See: Wright (2016). Lucid: An R Package for Pretty-Printing Floating Point Numbers. In JSM Proceedings, Statistical Computing Section. Alexandria, VA: American Statistical Association. 2270-2279.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("lucid")

1.12 by Kevin Wright, a month ago


https://kwstat.github.io/lucid/, http://kwstat.github.io/lucid/


Report a bug at https://github.com/kwstat/lucid/issues


Browse source code at https://github.com/cran/lucid


Authors: Kevin Wright [aut, cre, cph] (ORCID:


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports nlme

Suggests broom, dplyr, knitr, lattice, lme4, rjags, rmarkdown, sommer, testthat


Suggested by agridat, connected.


See at CRAN