pc: Comma Format Large Integers

Description Usage Arguments Value See Also Examples

View source: R/pc.R

Description

Add commas to larger integers.

Usage

1
pc(x, big.mark = ",", ...)

Arguments

x

A vector opc numbers (or string equivalents).

big.mark

The character to include every n places.

...

Other arguments passed to prettyNum.

Value

Returns a comma separted string of publication ready digits.

See Also

prettyNum

Examples

1
2
3
set.seed(4)
pc(sample(4:10, 5)^5)
## pc(sample(4:10, 5)^5, ".")

trinker/digit documentation built on May 27, 2017, 1:46 p.m.