View source: R/data-wrangling-misc.R
qcut | R Documentation |
Discretize a continuous variable into quantiles
qcut(x, q = c(0.25, 0.5, 0.75), ...)
x |
Numeric |
q |
Probabilities. Should be 1 less than the number of discrete bins to be returned.
|
... |
Passed to |
qcut(1:100, c(.2, .4, .6, .8))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.