quantize | R Documentation |
Will replace vector values with their quantile.
quantize(x, n)
x |
A numeric vector to quantize. |
n |
The number of quantiles to divide it into. |
A vector with values replaced by their quantile membership.
Sercan Kahveci
a<-rnorm(100)
quantize(a,5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.