Create a currency vector
Usage
currency(x = double(), code = "USD", digits = 2, locale = TRUE, log = NULL)
Arguments
- x
A numeric vector.
- code
Currency code. See currencies for a list of possibilities.
- digits
How many digits to round to when displaying the number. If
NULL
, all digits will be shown. Default is 2.- locale
Should the variable be displayed using its locale?
- log
Should the variable's distribution be shown on the log scale? If not specified, an inference will be made based on its values.