Skip to contents

max-min normalization

Usage

mm_norm(x, low = 0, high = 1)

Arguments

x

numeric vector

low

low limit of result, 0 as default

high

high limit of result, 1 as default

Value

normed vector

Examples


mm_norm(c(1, 3, 4))
#> [1] 0.0000000 0.6666667 1.0000000