Expands each element according to the factor expansions of columns in expand_as_numeric().
expand_as_numeric()
expand_vec(y, x)
a vector of length 1 or ncol(x).
ncol(x)
as in expand_as_numeric().
A vector of size ncol(expand_as_numeric(x)).
ncol(expand_as_numeric(x))