normalize: Normalize a vector based on specified minimum and maximum...

View source: R/normalize.R

normalizeR Documentation

Normalize a vector based on specified minimum and maximum values

Description

This function normalizes a vector based on specified minimum and maximum values. If the minimum and maximum values are not specified, the function will use the minimum and maximum values of the vector.

Usage

normalize(x, min = NULL, max = NULL)

Arguments

x

numeric vector

min

minimum value

max

maximum value

Value

normalized numeric vector

Author(s)

E. F. Haghish


shapley documentation built on April 12, 2025, 2:16 a.m.