percentile | R Documentation |
Convert numeric vector into its percentile. For example, 1:5 will become c(0,25,50,75,100).
percentile(dat)
dat |
A numeric vector, which will be converted into percentile value. |
A integer vector in [0,100]. Minimum value always becomes 0 and maximum always becomes 100.
Minato Nakazawa minatonakazawa@gmail.com https://minato.sip21c.org/
percentile(1:5)
X <- runif(1000, 10, 20)
percentile(X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.