legacy | R Documentation |
These generics and functions are superseded.
New code should use the num_...()
or parse_...()
functions instead,
such as num_accounting()
.
digits(x, digits, format = "f", ...)
scientific(x, format = c("e", "E"), ...)
accounting(x, digits = 2L, format = "f", big.mark = ",", ...)
comma(x, digits, format = "f", big.mark = ",", ...)
currency(x, symbol, digits, format = "f", big.mark = ",", ...)
percent(x, digits, format = "f", ...)
x |
a numeric vector |
digits |
an integer to indicate the number of digits to show. |
format |
format type passed to |
... |
additional parameters passed to |
big.mark |
thousands separator |
symbol |
currency symbol |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.