Using the TEMPLATE Procedure to Create a Customized
Crosstabulation Table
The TEMPLATE procedure enables you to customize the appearance of crosstabulation
(contingency) tables that are created with the FREQ procedure.
By default, crosstabulation tables are formatted according to the CrossTabFreqs template
that SAS provides. However, you can create a customized CrossTabFreqs table template
by using the TEMPLATE procedure with the statements in the following table.
Table 14.1PROC TEMPLATE Statements
TaskStatement
Create a crosstabulation table templateDEFINE CROSSTABS
Define a value that appears in the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.