
Last chance! 50% off unlimited learning
Sale ends in
This function lets the user normalize numerical values into the 0 to 1 range
normalize(x)
Numeric Vector. Numbers to be transformed into normalized vector
Vector with normalized x
values
Other Data Wrangling:
balance_data()
,
categ_reducer()
,
cleanText()
,
date_cuts()
,
date_feats()
,
formatNum()
,
holidays()
,
impute()
,
left()
,
numericalonly()
,
ohe_commas()
,
ohse()
,
removenacols()
,
removenarows()
,
replaceall()
,
textFeats()
,
textTokenizer()
,
vector2text()
,
year_month()
,
year_week()
# NOT RUN {
x <- c(0, 1, 4, 7.5, 10)
normalize(x)
# }
Run the code above in your browser using DataLab