Return a commentary snippet for any number value. Formats the number with comma separation and provides simple up/down commentary
single_number.Rd
Return a commentary snippet for any number value. Formats the number with comma separation and provides simple up/down commentary
Arguments
- x
a numeric value.
- description
code of descriptive words used in commentary. Defaults to "up"; up/down/unchanged.
- unchanged_limit
numeric, the value below which you consider the parameter to not represent a change in either direction. Defaults to 100.
- ...
additional arguments to pass to the scales::comma function