Skip to Main Content
PROC TABULATE by Example, Second Edition
book

PROC TABULATE by Example, Second Edition

by Lauren Haworth Lake, Julie McKnight
May 2015
Intermediate to advanced content levelIntermediate to advanced
348 pages
11h 31m
English
SAS Institute
Content preview from PROC TABULATE by Example, Second Edition

Create a One-Dimensional Table That Runs Vertically

When you build a one-dimensional table, PROC TABULATE takes your table definition and builds a table with a single row and many columns. There is no option to ask for a one-dimensional table that has a single column and many rows.
This can be a problem if your table turns out to be extremely wide. When your table becomes too wide for the page, PROC TABULATE generates a "Continued" message and builds the additional columns on a second page. This makes your table hard to read.
For example, take the following table. This shows the number of observations in the data set for each occupation:
PROC TABULATE DATA=TEMP;
   CLASS OCCUP;
   TABLE OCCUP=' '*N*F=15.;
RUN;
In Output 14.12, you can see that ...
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.
Start your free trial

You might also like

SAS 9.4 Language Reference, 6th Edition

SAS 9.4 Language Reference, 6th Edition

SAS Institute

Publisher Resources

ISBN: 9781607649908