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.
Lucid printing in R
'lucid' is primarily a formatting function similar to 'round' and 'signif', but output is always character.
The returned values are printed with regular R methods.
Note that R prints character vectors/matrices with quotes, but prints data.frames without quotes.
Fix test case to accommodate changes in
lucid() now converts tibbles to data.frames before formatting.
Added lucid logo, JSM poster & paper to github.
Changed vignette from Rnw to Rmd.
Namespace changes due to R devel changes.
vc.mcmc.list() for prettier summaries from JAGS.
Re-worked code. Primary objective is formatting, not printing.
Added na.replace option.
First release to CRAN, Nov 2014.