round_df: round_df

Description Usage Arguments Examples

View source: R/round_df.r

Description

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

Usage

1
round_df(df, digits)

Arguments

df

Dataframe to be rounded.

digits

Number of decimal places to round to.

Examples

1
round_df(my_data, digits = 2)

ianhussey/timesavers documentation built on May 18, 2019, 1:28 a.m.