Dear SAS community, I am asked to create a table with this formatting: How should I modify my code to merge the four tables? proc tabulate data=sashelp.class out=temp;
var age height weight;
class sex;
table height='height: mean (std)', (sex all)*(mean='' std='');
table height='height: min-max', (sex all)*(min='' max='');
table weight='weight: mean (std)', (sex all)*(mean='' std='');
table weight='weight: min-max', (sex all)*(min='' max='');
run; For simplicity, the code for the brackets around std and the dash between min and max is omitted. The actual application involves multiple tables with many variables.
... View more