This function creates a datatable with automatic formatting for percentage,
currency, and numeric columns, using guess_col_fmts() to determine which
columns are percentages, currency, or numeric.
Arguments
- data
a data frame to be displayed as a datatable
- pct_digits
number of digits to display for percentage columns
- currency_digits
number of digits to display for currency columns
- numeric_digits
number of digits to display for numeric columns
logical, if TRUE include buttons for copy, csv, and excel downloads
- ...
additional arguments passed to
guess_col_fmts()