round_df | R Documentation |
This function rounds all numeric variables in a dataframe to the desired number of places. Non-numeric variables will be ignored.
round_df(df, digits = 3)
df |
Dataframe to be rounded. |
digits |
Number of decimal places to round to. |
round_df(my_data, digits = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.