Learn R Programming

eufmdis.adapt (version 0.1.0)

format_numbers_DT: Safe wrapper for DT::formatCurrency Wrapper for DT::formatCurrency that returns NULL when the input table is NULL (instead of throwing an error).

Description

Safe wrapper for DT::formatCurrency Wrapper for DT::formatCurrency that returns NULL when the input table is NULL (instead of throwing an error).

Usage

format_numbers_DT(x, ...)

Value

Behaves the same output as DT::formatCurrency except when x is NULL. Then NULL is returned and no error is thrown.

Arguments

x

A table object created from DT::datatable()

...

other arguments passed to DT::formatCurrency

Author

Ian Kopacka