round_if_numeric: Round Numeric Variable

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_if_numeric(x, n = 3)

Arguments

x

Vector to round

n

Number of digits for rounding (default =)

Value

Vector with numeric variable rounded

Examples

1
## Not run: # nothing here yet

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