| Date: | Mon, 10 Sep 2007 13:04:30 -0700 |
| Reply-To: | jonathan.harris8@GMAIL.COM |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | jonathan.harris8@GMAIL.COM |
| Organization: | http://groups.google.com |
| Subject: | Re: proc gplot legend question |
|
| In-Reply-To: | <1189448861.493491.38830@y42g2000hsy.googlegroups.com> |
| Content-Type: | text/plain; charset="us-ascii" |
|---|
I'm sure there's a better way to do this, but I handle such situations
by creating a macro variable that includes the n= and the ( ). For
example:
ods output onewayfreqs=n;
proc freq data=one;
table study;
run;
data _null_;
set n;
npre="(n="||compress(put(frequency,2.))||")";
call symput ("npre",npre);
run;
|