Formatting Text Values
Another weakness of
PROC TABULATE is that it does not give you much control over how your
text row and column labels are displayed in the row and column headers.
Unlike PROC PRINT and PROC REPORT, PROC TABULATE does not have a SPLIT=
option. The following example shows what happens when you try to handle
long labels in PROC TABULATE. The following code has long labels and
values in the row headings, column headings, and the BOX= label:
PROC TABULATE DATA=TEMP F=DOLLAR8.; CLASS AGE REGION; VAR INCOME; TABLE REGION='Plant Location'*AGE, ALL=' '*N='# Employees'*F=8. INCOME=' '*(MEAN="Mean' STD='Standard Deviation') / BOX='International Pharmaceutical Corp. Salaries'; RUN;
You can see in Output
18.6 that the row and column ...
Get PROC TABULATE by Example, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.