View source: R/dataWranglingCleaning.R
round2 | R Documentation |
Rounds the number to two decimal points. If the value < .01 than a label "<.01" is used. Removes leading zeros.
round2(x)
x |
a number or a numeric vector |
a string or a character vector
round2(c(0.033, 0.1, 0.0002))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.