powered by
Centers and scales each column by standard deviation (sd) or to the interval (0, 1).
scale_sd(data)scale_01(data)
scale_01(data)
Numeric matrix or data.frame of the observations.
# NOT RUN { scale_sd(data = wine[, 2:6]) scale_01(data = wine[, 2:6]) # }
Run the code above in your browser using DataLab