round_char: Character-safe rounding

Description Usage Arguments Value

Description

Round a vector if it is numeric, but return the original vector if it is character.

Usage

1
round_char(x, digits = 0, ...)

Arguments

x

a character vector.

digits

integer indicating the number of decimal places.

...

arguments to be passed to methods.

Value

The character vector or the rounded version if numeric.


debruine/pipeline documentation built on May 8, 2019, 8:59 a.m.