cut_quanti {packHV} | R Documentation |
Cut a quantitative variable in n
equal parts
Description
Cuts a quantitative variable in n
equal parts
Usage
cut_quanti(x, n, ...)
Arguments
x |
a numeric vector |
n |
numeric, the number of parts: 2 to cut according to the median, and so on... |
... |
other arguments to be passed in |
Value
A factor vector
Author(s)
Hugo Varet
Examples
cut_quanti(cgd$height, 3)
[Package packHV version 2.2 Index]