Chapter Contents |
Previous |
Next |
The TABULATE Procedure |
Procedure features: |
| |||
Data set: | ENERGY | |||
Formats: | REGFMT., DIVFMT., and USETYPE |
Program |
options nodate pageno=1 linesize=80 pagesize=60; proc tabulate data=energy format=dollar12.; |
class region division type; var expenditures; |
table region*division, type='Customer Base'*expenditures=' '*sum=' ' |
/ rts=25; |
format region regfmt. division divfmt. type usetype.; title 'Energy Expenditures for Each Region'; title2 '(millions of dollars)'; run; |
Output |
The headings for Region, Division, and Type contain text specified in the TABLE statement. The TABLE statement eliminated the headings for Expenditures and Sum. | |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.