| normalize | R Documentation |
Extracts the numeric vectors from a data frame and normalizes each vector.
Note: In case that a variable is constant for method==1 (minmax) the entries will be replaced by 0.5 and
for method==2 (standardization) the entries will be replaced by 0.
normalize(x, method = 1)
x |
data.frame or matrix |
method |
integer: normalization method (default:
|
numeric matrix
In package normalize or at CRAN
normalize(iris, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.