Description Usage Arguments Examples
View source: R/formatting.R
4 decimal place
1
fourDp(x, unit = "")
x
a numeric or vector of numerics
unit
a unit specification
1 2
df %>% mutate(display = fourDp(x)) df %>% mutate(display = fourDp(x,"%"))
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.