powered by
Cuts a quantitative variable in \(n\) equal parts
cut_quanti(x, n, ...)
A factor vector
a numeric vector
numeric, the number of parts: 2 to cut according to the median, and so on...
other arguments to be passed in cut
cut
Hugo Varet
cut_quanti(cgd$height, 3)
Run the code above in your browser using DataLab