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)
A vector or data frame.
Numeric, number of decimals to round to.
x with all numeric variables rounded.
x
# NOT RUN { data(iris) round_num(iris) # }
Run the code above in your browser using DataLab