powered by
Standardize the given data matrix per column, over the rows, with multiple imputation for missing data.
pre_process(DATA, weight)
A data matrix
Whether the data matrix is weighted. weight = TRUE indicates that the data is weighted. Default is weight = FALSE.
weight = TRUE
weight = FALSE
a standardized matrix
# NOT RUN { pre_process(matrix(1:12, nrow = 3, ncol = 4)) # }
Run the code above in your browser using DataLab