Round numeric variables in a data frame
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)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.