Description Usage Arguments Value See Also Examples
f_dollar
- A wrapper for f_num
that formats
dollar values as labeled dollars.
1 2 3 |
x |
A vector of values. |
leading_zero |
logical. If |
digits |
The number of digits to use. Defaults to 2. Can be set
globally via: |
p |
A string to paste at the beginning of the output from |
... |
Other values passed to |
Returns a string of publication ready digits.
1 2 3 4 5 6 7 |
[1] "$30.00" "$33.45" "$0.10"
Attaching package: ‘dplyr’
The following object is masked from ‘package:numform’:
collapse
The following objects are masked from ‘package:stats’:
filter, lag
The following objects are masked from ‘package:base’:
intersect, setdiff, setequal, union
[1] "$0.00" "$0.00" "$0.20" "$-.02"
[5] "$1,122,222.00" "$3.14"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.