Description Usage Arguments Value Examples
This is a function taken from Stack Overflow that creates a percentile rank of a quantitative field. This is useful for creating cumulative and power law distributions.
1 | percRank(x)
|
x |
The quantitative field from which to create the percentile rank. |
Returns a decimal from 0 to 1 of the percentile rank of a given
1 | ## Not run: percRank(mtcars$mpg)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.