[R] calculating quintile values of numeric data? Alexandros Kouretsis
Alexandros Kouretsis
@kouret@ @end|ng |rom gm@||@com
Wed Jan 23 09:35:43 CET 2019
cut can do the job
q_prob <- seq(0, 1, 0.2)
cut(x, breaks = quantile(x, probs = q_prob), include.lowest = T , labels =
1:5)
[[alternative HTML version deleted]]
More information about the R-help
mailing list