powered by
Round the numeric columns of a data frame to a specified number of significant digits.
dfsigfig(df, n = 3)
A data.frame.
The number of significant digits to round off to.
A data.frame rounded to n significant digits.
# NOT RUN { dfsigfig(mtcars,1) # } # NOT RUN { # }
Run the code above in your browser using DataLab