discrete_by_quantile {nima} | R Documentation |
Discretize a Vector by Quantiles
Description
Discretizes a non-factor input vector and returns the result as numeric.
Usage
discrete_by_quantile(x, ...)
Arguments
x |
A vector containing arbitrary data. |
... |
Additional arguments passed to |
Value
A numeric vector with the data re-coded to based on the quantiles.
Examples
x <- rnorm(1000)
discrete_by_quantile(x)
[Package nima version 0.6.2 Index]