View source: R/format_numbers_DT.R
format_numbers_DT | R Documentation |
DT::formatCurrency
that returns NULL when the input table
is NULL
(instead of throwing an error).Safe wrapper for DT::formatCurrency
Wrapper for DT::formatCurrency
that returns NULL when the input table
is NULL
(instead of throwing an error).
format_numbers_DT(x, ...)
x |
A table object created from |
... |
other arguments passed to |
Behaves the same output as DT::formatCurrency
except when
x
is NULL
. Then NULL
is returned and no error is thrown.
Ian Kopacka
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.