Return a commentary snippet for one or more values. Formats the numbers as a comma separated numeric and provides simple up/down commentary
number_change.Rd
Return a commentary snippet for one or more values. Formats the numbers as a comma separated numeric and provides simple up/down commentary
Arguments
- x
a vector of numeric values.
- 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