Description Usage Arguments Examples
This function will round values to any base (e.g., 25 or .25)
1 | base_round(x, base)
|
x |
is the vector you will be rounding |
base |
is the value you will be rounding to (e.g., 25 or .25) |
1 2 | base_round( c(23.67, 2.7, 52.9, 7.7, 99.4), base = .25 )
base_round( c(23.67, 2.7, 52.9, 7.7, 99.4), base = 25 )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.