normalize: Normalize

View source: R/utils_normalization.R

normalizeR Documentation

Normalize

Description

Normalize data using min-max scale.

Usage

normalize(x)

Arguments

x

is a predictor variable that is a numeric vector to be normalized.

Value

A numeric vector scaled between 0 and 1.

Examples

# Normalize example use:
data <- c(10, 20, 30, 40, 50)
normalize(data)


metaSVR documentation built on Aug. 21, 2025, 5:58 p.m.