137874 threads
290 threads
1 email from 1 person
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]]