Formats numbers with a thousand separator and a prespecified number of digits after the decimal point.
num_comma(x, digits = 2L, format = "f", big.mark = ",", ...)
parse_comma(x, digits = max(get_digits(x)), format = "f", big.mark = ",", ...)a numeric vector.
an integer to indicate the number of digits of the percentage string.
format type passed to formatC().
thousands separator
additional parameters passed to formattable().
Other numeric vectors:
num_accounting(),
num_currency(),
num_digits(),
num_percent(),
num_scientific()