normalize {eHDPrep}R Documentation

Min max normalization

Description

Normalizes values in x to be between 0 and 1 using min-max normalization.

Usage

normalize(x, na.rm = TRUE)

Arguments

x

numeric vector

na.rm

a logical indicating whether missing values should be removed. Default = TRUE.

Value

normalised x


[Package eHDPrep version 1.3.3 Index]