View source: R/pjp_round_nice.R
pjp_round_nice | R Documentation |
Ya lo he dicho round numbers nicely This function rounds data in a nice way. See: https://twitter.com/hspter/status/314858331598626816 pjp_f_round_nice(c(-0.0002, 0.0002, 0.5, -0.5, -0.002), digits = 3) should return c("0.000", "0.000", "0.500", "-0.500", "-0.002") Thanks Karl Broman!!
pjp_round_nice(..., digits = 2)
... |
valores introducidos |
digits |
(digitos a mostrar, default = 2) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.