I feel like I must be missing something simple, but I am trying to format a table using the collect set of commands. The table is just means of some variables, and the column headers are the variable labels. Some of the labels are long and I would like to shrink the column widths and wrap some of the header labels onto multiple rows, but I am not seeing a way to do this, for example via the "collect style column..." command. This makes me suppose I'm not thinking about the problem in 'the right way', but so far haven't come up with what that way might be. Any insight would be greatly appreciated.
Here's an example of my dilemma:
Here's an example of my dilemma:
Code:
sysuse auto collect: by foreign: sum mpg weight,d collect label levels result mean "here is a pretty long label that would be better if it were wrapped onto multiple lines",modify collect recode cmdset 3=2 collect layout (foreign) (cmdset[2]#result[mean])
Comment