standardize.RdFunction that standardizes the data before running the fitting
algorithm. This is used in the sail function
standardize(x, center = TRUE, normalize = FALSE)
| x | data to be standardized |
|---|---|
| center | Should |
| normalize | Should |
list of length 3:
centered and possibly
normalized x matrix
numeric vector of column means of
x matrix
standard deviations (using a divisor of
n observations) of columns of x matrix