clean_digits | R Documentation |
Clean the digits in a data frame
clean_digits(df, digits = 2)
df |
A data frame with numeric columns |
digits |
Number of significant figures to round the numeric columns to |
A data frame with all numeric columns rounded to the specified number of significant figures
Kevin Wang
head(iris) head(clean_digits(iris, digits = 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.