Description Usage Arguments Details
View source: R/suffix_formatter_0_cur.R
Same as number_formatter but for currency $. Example scale_y_continuous(labels = suffix_formatter_0_cur)
1 | suffix_formatter_0_cur(x, digits = NULL)
|
x |
A vector of numbers representing an axis in your ggplot. |
digits |
Defaults to NULL. Here it set to zero for use in plots. |
Rewritten for currency from Based on this stackoverflow post https://stackoverflow.com/questions/28159936/formatting-large-currency-or-dollar-values-to-millions-billions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.