Format numeric columns.
Arguments
- tab
Table to format.
- cols
Character string of columns to format. defaults to
"all"which will include all numeric variables intab. Ifignore = TRUEthen the columns listed incolswill be not be formatted and all other columns intabwill be formatted.- type
The type of formatting to apply.
"pretty"usesprettyNumwhich uses commas (",") to mark big intervals."scientific"uses scientific notation."decimal"simply rounds to two decimal places.- ignore
Logical, whether to exclude the columns listed in
colsand apply formatting to all other columns intab.
