Description Usage Arguments Author(s) Examples
View source: R/normalization.R
This function normalizes the data using the max-min normalization
1 | normalization(x, margin = 2)
|
x |
the dataset. |
margin |
data is normalized by row (margin = 1) or by column (margin = 2). The default is 2. |
Wanwan Zheng
1 2 3 | data(ozone)
scaled.data = normalization(ozone[,-1])
ozone.scale = data.frame(y = as.character(ozone[,1]), scaled.data[,-1])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.