round_df: round_df

View source: R/round_df.r

round_dfR Documentation

round_df

Description

This function rounds all numeric variables in a dataframe to the desired number of places. Non-numeric variables will be ignored.

Usage

round_df(df, digits = 3)

Arguments

df

Dataframe to be rounded.

digits

Number of decimal places to round to.

Examples

round_df(my_data, digits = 2)

ianhussey/SCED documentation built on Aug. 25, 2022, 4:42 p.m.