fmt_pretty: Use 'prettyNum()' to format numbers

Description Usage Arguments Value See Also Examples

Description

Use prettyNum() to format numbers

Usage

1
fmt_pretty(big.mark = ",", ..., scientific = FALSE)

Arguments

big.mark, scientific, ...

Passed to prettyNum().

Value

An object you can pass into number_format().

See Also

Other format functions: fmt_percent()

Examples

1
2
3
4
jams$Sales <- c("Sales", 35000,
      55500, 20000)
set_number_format(jams, -1, "Sales",
      fmt_pretty())

huxtable documentation built on May 15, 2021, 1:09 a.m.