SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Creating Tabular Reports
Additional Features


PROC TABULATE provides many other features that enable you to control the structure and appearance of your tables.

For example, you've seen several examples of concatenation, using the blank operator to display variables side by side or stacked (as shown below), or on adjacent pages.

     table height*mean weight*mean,sex all;

stacked variables


You can also produce hierarchical tables by using the asterisk operator to cross class variables with other variables.
     table sex,actlevel*age*max;

crossed variables


To group elements and control how expressions are evaluated, you can use the parentheses operator. For example, ALL in the table below summarizes only categories for Sex, not for Type.
     table type*(sex all);

grouped elements



back||next


Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.

Terms of Use & Legal Information | Privacy Statement