The ratio of each value of x to max(x).
x
max(x)
n_fracmax(x)
A numeric vector
x / x_{max}
Numeric vector
x <- runif(20) n_fracmax(x)