
Last chance! 50% off unlimited learning
Sale ends in
Formats large numbers with big marks
big_mark(x, big.mark = ",", ...)
A vector or data frame. All numeric inputs (including numeric character) vectors) will be prettified.
Character, used as mark between every 3 decimals before the decimal point.
Other arguments passed down to the prettyNum
-function.
A prettified x
as character, with big marks.
# NOT RUN {
# simple big mark
big_mark(1234567)
# big marks for several values at once, mixed numeric and character
big_mark(c(1234567, "55443322"))
# pre-defined width of character output
big_mark(c(1234567, 55443322), width = 15)
# }
Run the code above in your browser using DataLab