normalize: Normalize Vector

View source: R/wrangling.R

normalizeR Documentation

Normalize Vector

Description

This function lets the user normalize numerical values into the 0 to 1 range

Usage

normalize(x, ...)

Arguments

x

Numeric Vector. Numbers to be transformed into normalized vector

...

Additional parameters passed to corr and cor.test

Value

Vector with normalized x values

See Also

Other Data Wrangling: balance_data(), categ_reducer(), cleanText(), date_cuts(), date_feats(), file_name(), formatHTML(), holidays(), impute(), left(), num_abbr(), ohe_commas(), ohse(), quants(), removenacols(), replaceall(), replacefactor(), textFeats(), textTokenizer(), vector2text(), year_month(), zerovar()

Examples

x <- c(0, 1, 4, 7.5, 10)
normalize(x)

laresbernardo/lares documentation built on Oct. 23, 2024, 12:05 p.m.