powered by
The ratio of each value of x to max(x).
x
max(x)
n_fracmax(x)
Numeric vector
A numeric vector
$$ x / x_{max} $$
x <- runif(20) n_fracmax(x)
Run the code above in your browser using DataLab