calculating quintile values of numeric data? Alexandros Kouretsis
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)
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)