Skip to contents

Comma and Significance Formatter

Usage

comma_signif(x, digits = 3, ..., big.mark = ",")

Arguments

x

A numeric vector to format.

digits

A whole number specifying the number of significant figures.

...

Unused.

big.mark

A string specifying used between every 3 digits to separate thousands on the x-axis.

Value

A character vector.

Examples

if (FALSE) { # \dontrun{
comma_signif(c(0.1, 1, 10, 1000, 10000))
} # }