max-min normalization
Arguments
- x
numeric vector
- low
low limit of result, 0 as default
- high
high limit of result, 1 as default
Examples
mm_norm(c(1, 3, 4))
#> [1] 0.0000000 0.6666667 1.0000000
max-min normalization
numeric vector
low limit of result, 0 as default
high limit of result, 1 as default
mm_norm(c(1, 3, 4))
#> [1] 0.0000000 0.6666667 1.0000000