Learn R Programming

ssdtools (version 0.1.0)

comma_signif: Comma and Significance Formatter

Description

Comma and Significance Formatter

Usage

comma_signif(x, digits = 1, ...)

Arguments

x

A numeric vector to format.

digits

Deprecated, use accuracy instead.

...

Other arguments passed on to base::format().

Value

A function that returns a character vector.

See Also

comma

Examples

Run this code
# NOT RUN {
comma_signif(1199)
# }

Run the code above in your browser using DataLab