n_fracmax {COINr} | R Documentation |
Normalise as fraction of max value
Description
The ratio of each value of x
to max(x)
.
Usage
n_fracmax(x)
Arguments
x |
A numeric vector |
Details
x / x_{max}
Value
Numeric vector
Examples
x <- runif(20)
n_fracmax(x)
[Package COINr version 1.1.14 Index]