round_num | R Documentation |
round_num()
rounds numeric variables in a data frame
that also contains non-numeric variables. Non-numeric variables are
ignored.
round_num(x, digits = 0)
x |
A vector or data frame. |
digits |
Numeric, number of decimals to round to. |
x
with all numeric variables rounded.
data(iris)
round_num(iris)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.