given a design matrix x and response vector y, puts x's columns in order from least to most MSE. Puts intercept 1st. Centers variables first.

mse_order(x, y)

Arguments

x

a design matrix

y

a response vector

Value

an ordered matrix x