powered by
round_num() rounds numeric variables in a data frame that also contains non-numeric variables. Non-numeric variables are ignored.
round_num()
round_num(x, digits = 0)
x with all numeric variables rounded.
x
A vector or data frame.
Numeric, number of decimals to round to.
data(iris) round_num(iris)
Run the code above in your browser using DataLab