powered by
Helper function to scale numeric variables. Aids convergence of Midas model.
col_minmax(x)
Vector scaled between 0 and 1
A numeric vector or column.
ex_num <- runif(100,1,10) scaled <- col_minmax(ex_num)
Run the code above in your browser using DataLab