| units_options {units} | R Documentation |
set units global options, mostly related how units are printed and plotted
units_options(..., sep, group, negative_power, parse, set_units_mode, auto_convert_names_to_symbols)
... |
ignored |
sep |
character length two; default |
group |
character length two; start and end group, may be two empty strings, a parenthesis pair, or square brackets. |
negative_power |
logical, default FALSE; should denominators have negative power, or follow a division symbol? |
parse |
logical, default |
set_units_mode |
character; either |
auto_convert_names_to_symbols |
logical: should names, such as |
units_options(sep = c("~~~", "~"), group = c("", "")) # more space, parenthesis
## set defaults:
units_options(sep = c("~", "~"), group = c("[", "]"), negative_power = FALSE, parse = TRUE)