October 2009
Beginner
636 pages
13h 35m
English
A common technique in PROC TABULATE is to use the BOX= option in the TABLE statement to put a title in the box at the top left corner of the table. The following code shows how the option is used:
ODS HTML BODY='tabbox.html' STYLE=sasweb;
proc tabulate data=furniture;
class Type Material;
var Price;
table Type='Table Type'*
Material='Construction',
Price='Average Price'*Mean=" "*f=dollar8.
/ Box='Retail Stock Report';
run;
ODS HTML CLOSE;
The resulting table is shown in Figure 19.24. Notice how the box label is centered in the box. The table might look better if the label were aligned with the left side of the table. That way it would match the row headings. To do this, you can apply a STYLE= option ...
Read now
Unlock full access