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