center and reduce data matrix based on known mean and SD

center_reduce(X, m, sig)

Arguments

X

numeric. data matrix (each column is centered/reduced)

m

numeric. mean of each variable in the data matrix

sig

numeric. SD of each variable in the data matrix

Value

X numeric. Centered matrix