Hello Statalisters,
I am using the Ian Watson's tabout command which I got from SSC (ssc inst tabout). I would like to know whether tabout offers the opportunity to change the order of the rows. To state an example (the code requires that bot.tex and top.tex are set up in the working directory):
Here I would like to sort by the mean of the variable MPG per group so that group 5 would be in the first row, group 4 in the second and so forth. Is there anyone out there who could explain to me how to do this?
Best regards,
Roberto
I am using the Ian Watson's tabout command which I got from SSC (ssc inst tabout). I would like to know whether tabout offers the opportunity to change the order of the rows. To state an example (the code requires that bot.tex and top.tex are set up in the working directory):
Code:
ssc inst tabout sysuse auto, clear tabout rep78 using table12.txt, /// c(mean mpg) f(1c) clab(MPG) sum npos(tufte) /// rep /// style(tex) bt /// topf(top.tex) botf(bot.tex) topstr(4cm) botstr(auto.dta)
Best regards,
Roberto
Comment