Description Usage Arguments Value Examples
Round numeric values in a data frame
1 |
df |
a data.frame |
digits |
number of digits to round to |
a copy of df with numeric fields rounded accordingly
1 2 | df <- data.frame(A = c(0.1234, 0.123))
round_df(df, digits = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.