round_nice_pjp: round numbers nicely

Description Usage Arguments Examples

View source: R/round_nice_pjp.R

Description

Ya lo he dicho round numbers nicely This function rounds data in a nice way. See: ttps://twitter.com/hspter/status/314858331598626816

Usage

1

Arguments

nn

(digitos, default=2)

Examples

1
 round_nice_pjp(c(-0.0002, 0.0002, 0.5, -0.5, -0.002), dig=3))   this should return c("0.000", "0.000", "0.500", "-0.500", "-0.002")

perezp44/personal.pjp documentation built on May 25, 2019, 12:46 a.m.