Set a function for pretty-printing numbers in the text

pretty_num(x, ...)

Arguments

x

Number to print

...

Additional options to be passed to prettyNum

Value

A formatted number

Examples

pretty_num(5.55654)
#> [1] "5.56"