round_df: Round All Numeric Columns in Data Frame

Description Usage Arguments Value Examples

View source: R/reporting.R

Description

This was taken from this StackOverflow answer: http://stackoverflow.com/questions/21328047/round-multiple-vectors-in-dataframe-with-plyr/21328269#21328269

Usage

1
round_df(df, n = 3)

Arguments

df

Data frame

n

Digits to round to (to right of decimal)

Value

Data frame

Examples

1
## Not run: # nothing here yet

outcomesinsights/jigsaw_r documentation built on May 24, 2019, 5:54 p.m.