norm_max {DEXiR} | R Documentation |
Normalize values
so that max(values) == max
.
norm_max(values, max = 1)
values |
A numeric vector. |
max |
|
values
normalized so that max(result) == max
.
Returns unchanged values
when max(values) == 0
.
norm_max(c(0, 0.5, 0.7))