Numeric vector with thousands separators
comma(x, digits, format = "f", big.mark = ",", ...)
# Default S3 method
comma(x, digits = 2L, format = "f", big.mark = ",", ...)
# S3 method for class 'character'
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.