Learn R Programming

tsensembler (version 0.1.0)

normalize: Scale a numeric vector using max-min

Description

Utility function used to linearly normalize a numeric vector

Usage

normalize(x)

Arguments

x

a numeric vector.

Value

a linearly normalized vector

Examples

Run this code
# NOT RUN {
normalize(rnorm(4L))
normalize(1:10)

# }

Run the code above in your browser using DataLab