Skip to Content
Carpenter's Complete Guide to the SAS REPORT Procedure
book

Carpenter's Complete Guide to the SAS REPORT Procedure

by Art Carpenter
February 2013
Intermediate to advanced
490 pages
14h 35m
English
SAS Institute
Content preview from Carpenter's Complete Guide to the SAS REPORT Procedure
Chapter 2: PROC REPORT: An Introduction 47
In the following example, this line of text is a blank line after each level of the grouping variable
(REGION).
* Blank Line using COMPUTE;
title1 'Using Proc REPORT';
title2 'Blank Line After Region';
proc report data=rptdata.clinics
(where=(region in('1' '2' '3' '4')))
nowd;
column region sex wt,(n mean);
define region / group format=$6.;
define sex / group format=$6. 'Gender';
define wt / analysis;
compute after region;
line ' ';
endcomp;
run;
Using Proc REPORT
Blank Line After Region
weight in pounds
region Gender n mean
1 M 4 195
2 F 6 109.66667
M 4 105
3 F 5 127.8
M 5 163.8 ...
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

Carpenter's Guide to Innovative SAS Techniques

Carpenter's Guide to Innovative SAS Techniques

Art Carpenter
SAS ODS Graphics Designer by Example

SAS ODS Graphics Designer by Example

Sanjay Matange, Jeanette Bottitta

Publisher Resources

ISBN: 9781599944272