Style numbers
(numeric)
Numeric vector
(non-negative integer)
Integer or vector of integers specifying the number of decimals
to round x. When vector is passed, each integer is mapped 1:1 to the
numeric values in x
(string)
Character used between every 3 digits to separate
hundreds/thousands/millions/etc.
Default is ",", except when decimal.mark = "," when the default is a space.
(string)
The character to be used to indicate the numeric decimal point.
Default is "." or getOption("OutDec")
(scalar numeric)
A scaling factor: x will be multiplied by scale before formatting.
(string)
Additional text to display before the number.
(string)
Additional text to display after the number.
(NA/string)
Character to replace NA values with. Default is NA_character
Arguments passed on to base::format()
formatted character vector