nearest: Internal function for descriptive()
Description
Finds positions for substitution of characters in Distribution column
Usage
nearest(x, to = seq(0, 1, length.out = 30))
Value
The nearest position to the input value
Arguments
- x
A numeric value between 0-1
- to
Range of reference values