percent_format {scales} | R Documentation |
Superseded interface to label_percent()
Description
These functions are kept for backward compatibility; you should switch
to label_percent()
for new code.
Usage
percent_format(
accuracy = NULL,
scale = 100,
prefix = "",
suffix = "%",
big.mark = NULL,
decimal.mark = NULL,
trim = TRUE,
...
)
percent(
x,
accuracy = NULL,
scale = 100,
prefix = "",
suffix = "%",
big.mark = NULL,
decimal.mark = NULL,
trim = TRUE,
...
)
Arguments
accuracy |
A number to round to. Use (e.g.) Applied to rescaled data. |
scale |
A scaling factor: |
prefix |
Additional text to display before the number. The suffix is
applied to absolute value before |
suffix |
Additional text to display after the number. |
big.mark |
Character used between every 3 digits to separate thousands.
The default ( |
decimal.mark |
The character to be used to indicate the numeric
decimal point. The default ( |
trim |
Logical, if |
... |
Other arguments passed on to |