round_df: round all numeric variables of a df according to no. of...

View source: R/general_funcs.R

round_dfR Documentation

round all numeric variables of a df according to no. of digits

Description

round all numeric variables of a df according to no. of digits

Usage

round_df(df, digits)

Arguments

df

a dataframe

digits

a numeric value

Value

a df with rounded numeric variables


cathblatter/shurp2018 documentation built on Jan. 11, 2023, 11:29 a.m.