At 03:43 PM 06/18/2002 -0400, David Friedman wrote:
Is there a way to make column
headings in proc report such that there is a
sub heading as in the example below, Physical Characteristics having
sub
headings of weight and height?
Patient Number Physical Characteristics
-------------- -------------------------------
Height(lb) Weight (inches)
--------- ---------------
1000
60
90
2000
72 180
It's easy! (I took the liberty of adding a few cosmetic changes,
including labelling height in inches and weight in lbs as opposed to vice
versa :-)
...
columns ptnum ('Physical Characteristics/--' height weight);
define ptnum / '//Patient Number/--' width=14;
define height / 'Height(ins)/--' width=11
center;
define weight / 'Weight(lbs)/--' width=11
center;
...
This should produce (untested):
Physical Characteristics
------------------------
Patient Number Height(ins) Weight(lbs)
-------------- ----------- -----------
1000
60
90
2000
72 180
HTH,
Ray
*------------------------------------------------*
| Ray Pass, Ph.D. voice:
(914) 693-5553 |
| Ray Pass Consulting eFax: (914)
206-3780 |
| 5 Sinclair Place cell:
(914) 450-0555 |
| Hartsdale, NY 10530 e-mail: raypass@att.net |
*------------------------------------------------*