Description Usage Arguments Value
Generates a factor out of a numeric vector, where the levels are determined based on the quantiles
1 | quantilize(x, n, return_labels = TRUE)
|
x |
a numeric vector |
n |
the number of categories to create |
return_labels |
whether the labels containing the intervals should be returned; if |
returns a factor variable where the levels are intervals of x
determined by the quantiles of x
. The number of quantiles to use is determined by n
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.