format_ms | R Documentation |
Cole, TJ (2015) Too many digits: presentation of numerical data. Archives of Disease in Childhood 100(7), 608-609.
format_ms(x, figs = 3, sigfig = TRUE, use_quantiles = FALSE)
x |
Numeric vector to be summarised |
figs |
Number of digits or significant figure to print |
sigfig |
If |
use_quantiles |
If |
A string, formatted as median (IQR) or mean (SD) with the chosen number of digits / significant figures, suitable for display in tables.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.