format_number | R Documentation |
Used internally (not exported) to apply all relevant formatting. It is
documented here only because it can be used when setting the
dfSummary.custom.1
and dfSummary.custom.1
options.
format_number(x, round.digits, ...)
x |
A numerical value to be formatted. |
round.digits |
Numerical. Number of decimals to show. Used to define
both |
... |
Any other formatting instruction that is compatible with
|
## Not run: format_number(IQR(column_data, na.rm = TRUE), round.digits) format_number(IQR(column_data, na.rm = TRUE), decimal.mark = ",") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.