Round the numbers of a data.frame
roundDf(df, digits = 2)
df
A data.frame
digits
A vector of integer indicating the number of decimal places
a rounded data.frame