R/labelled_quantile.R
labelled_quantile.Rd
Convert a numeric into a quantile categorical variable, labelled by lower and upper bounds of quantiles (string)
labelled_quantile(x)
labelled_quantile(c(1,1,1,1,2,3,5,5,6))
#> [1] "1.2_TO_2.8" "1.2_TO_2.8" "1.2_TO_2.8" "1.2_TO_2.8" "2.8_TO_5"
#> [6] "5_TO_6" "6_UP" "6_UP" "6_UP"