Description Usage Arguments Value
Wrapper function to round a numeric value (or vector) to character string (or vector) for printing purposes keeping trailing zeros
1 | round_to_char(x, digits = 1L)
|
x |
a numeric vector |
digits |
integer; number of decimals to keep |
character string/vector with x
rounded to digit
digits while keeping trailing zeros
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.