powered by
Convert numeric columns of data.frame to character
roundDf(df, digits = 2)
A data.frame
integer indicating the number of decimal places
# NOT RUN { roundDf(iris,digits=c(1,2,3,4)) roundDf(mtcars,digits=2) # }
Run the code above in your browser using DataLab