Description Usage Arguments Value Examples
Format numbers with a given number of significant digits
1 | format_signif(x, digits)
|
x |
numeric vector |
digits |
number of significant digits |
character vector
1 2 | x <- c(0.800, 1704.1, 43.5e6, 10, NaN, NA, Inf, 0.00)
format_signif(x, digits=3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.