percRank: Percent Rank

Description Usage Arguments Value Examples

View source: R/functions.R

Description

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.

Usage

1

Arguments

x

The quantitative field from which to create the percentile rank.

Value

Returns a decimal from 0 to 1 of the percentile rank of a given

Examples

1
## Not run: percRank(mtcars$mpg)

jsdeherrera/shinyStats documentation built on May 13, 2019, 11:54 p.m.