form_deciles | R Documentation |
Calculate deciles for a variable.
form_deciles(x)
x |
A vector for which deciles are to be calculated. |
vector
library(farr) library(dplyr, warn.conflicts = FALSE) df <- tibble(x = rnorm(100)) %>% mutate(dec_x = form_deciles(x)) df
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.