Skip to Main Content
SAS 9.4 Graph Template Language, 3rd Edition
book

SAS 9.4 Graph Template Language, 3rd Edition

by SAS Documentation
August 2014
Intermediate to advanced content levelIntermediate to advanced
652 pages
20h 38m
English
SAS Institute
Content preview from SAS 9.4 Graph Template Language, 3rd Edition
file print ods=( template="mygraphs.regfit"
dynamic=( xvar="height" yvar="weight" ) );
put _ods_;
run;
Note the following:
The CALL SYMPUT routine initializes the macro variable STUDY with the string
value "CLASS data set." The macro variable only needs to be initialized once, so the
IF statement limits the initialization to the first observation (_N_ = 1).
The DYNAMIC= suboption initializes the dynamic variables XVAR and YVAR.
XVAR is assigned to the input variable HEIGHT, and YVAR is assigned to the input
variable WEIGHT.
For a more complete discussion of this topic and additional examples, see Chapter 26,
“Using Dynamics and Macro Variables ...
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: 9781629593111