When you call a function like
table_value(), you may supply your own rounding specification or use a default rounding specification. The default rounding specification is based on the global options of your current R session. So to make a particular rounding specification the default specification, all you need to do is set your global options using the specification of your choice.
Any rounding specification will do.
Modify each name so that it starts with ‘table.glue’. This protects you from mistakenly changing other package options.
All you need to do now is use the
Did you make a mistake? We all do. You can revert the options back to normal by setting
force_default = TRUE in a new
round_spec() function, and then repeating steps 2 and 3.