I am just starting to experiment with the new "collect" command, and I am having trouble appending results. Does anyone know how to modify the code below so that the results from both table commands are included in the excel file? I know that the appended results will not be pretty (the two tables don't even have the same number of columns). I just want to get them output as one chunk.
Thanks,
Jeremy
Code:
sysuse nlsw88.dta collect clear table race, stat(freq) stat(percent) table race married, stat(mean age) append collect export table1.xlsx, replace
0 Response to appending tables with the collect command
Post a Comment