Skip to contents

Calculates the percentile rank of a target value within a distribution.

Usage

percentile_rank(x, xo)

Arguments

x

vector of values

xo

target value

Value

numeric percentile rank