Description Usage Arguments Value
Round a vector if it is numeric, but return the original vector if it is character.
1 | round_char(x, digits = 0, ...)
|
x |
a character vector. |
digits |
integer indicating the number of decimal places. |
... |
arguments to be passed to methods. |
The character vector or the rounded version if numeric.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.