format_numbers_DT {eufmdis.adapt}R Documentation

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, ...)

Arguments

x

A table object created from DT::datatable()

...

other arguments passed to DT::formatCurrency

Value

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

Author(s)

Ian Kopacka


[Package eufmdis.adapt version 0.1.0 Index]