round_df: Create data frame with rounded number of trailing digits

Description Usage Arguments Value Examples

Description

Based on https://gist.github.com/avsmith/e6f4f654451da139230b to round all numeric variables

Usage

1
round_df(x, digits = 2)

Arguments

x

data frame

digits

number of digits to round

Value

data frame with rounded numeric variables

Examples

1
round_df(head(faithful),digits=1)

kmaurer/binsemble documentation built on May 7, 2019, 9:50 p.m.