normalize | R Documentation |
This function lets the user normalize numerical values into the 0 to 1 range
normalize(x, ...)
x |
Numeric Vector. Numbers to be transformed into normalized vector |
... |
Additional parameters passed to |
Vector with normalized x
values
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()
x <- c(0, 1, 4, 7.5, 10)
normalize(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.