powered by
Normalize values so that max(values) == max.
values
max(values) == max
norm_max(values, max = 1)
values normalized so that max(result) == max. Returns unchanged values when max(values) == 0.
max(result) == max
max(values) == 0
A numeric vector.
numeric(1).
numeric(1)
norm_none(), norm_sum()
norm_none()
norm_sum()
norm_max(c(0, 0.5, 0.7))
Run the code above in your browser using DataLab