powered by
Discretizes a non-factor input vector and returns the result as numeric.
discrete_by_quantile(x, ...)
A vector containing arbitrary data.
Additional arguments passed to quantcut.
quantcut
A numeric vector with the data re-coded to based on the quantiles.
# NOT RUN { x <- rnorm(1000) discrete_by_quantile(x) # }
Run the code above in your browser using DataLab