I am wondering how I change the order of the variable in table created by "Collect"
Here is an example.
sysuse auto.dta
collect, tag(model[(1)]): reg price mpg weight
collect, tag(model[(2)]): reg price foreign weight
collect dims
collect levelsof model
collect layout (colname#result[_r_b]) (model)
The order of the variables in the table is: mpg weight foreign.
How do I change the order in the table to: mpg foreign weight?
Here is an example.
sysuse auto.dta
collect, tag(model[(1)]): reg price mpg weight
collect, tag(model[(2)]): reg price foreign weight
collect dims
collect levelsof model
collect layout (colname#result[_r_b]) (model)
The order of the variables in the table is: mpg weight foreign.
How do I change the order in the table to: mpg foreign weight?

Comment