suffix_formatter_0_cur: Number formatter function

Description Usage Arguments Details

View source: R/suffix_formatter_0_cur.R

Description

Same as number_formatter but for currency $. Example scale_y_continuous(labels = suffix_formatter_0_cur)

Usage

1

Arguments

x

A vector of numbers representing an axis in your ggplot.

digits

Defaults to NULL. Here it set to zero for use in plots.

Details

Rewritten for currency from Based on this stackoverflow post https://stackoverflow.com/questions/28159936/formatting-large-currency-or-dollar-values-to-millions-billions


mraess/numberFormattR documentation built on Nov. 4, 2019, 7:32 p.m.