powered by
This function normalizes the data using the max-min normalization
normalization(x, margin = 2)
the dataset.
data is normalized by row (margin = 1) or by column (margin = 2). The default is 2.
# NOT RUN { data(ozone) scaled.data = normalization(ozone[,-1]) ozone.scale = data.frame(y = as.character(ozone[,1]), scaled.data[,-1]) # }
Run the code above in your browser using DataLab