style_num: Styling helpers
Description
Functions that allow implementers of formatters for custom data types to
maintain a consistent style with the default data types.
Usage
style_num(x, negative, significant = rep_along(x, TRUE))style_subtle(x)
style_na(x)
style_neg(x)
Arguments
x
The character vector to style.
negative, significant
Logical vector the same length as x
that
indicate if the values are negative and significant, respectively