|
I saw this:
ID Statement
ID variables ;
The ID statement specifies one or more additional tip variables to
identify observations in scatter plots and scatter plot matrix. For
each plot, the tip variables include the X-axis variable, the Y-axis
variable, and the variable for observation numbers. The ID statement
names additional variables to identify observations in scatter plots
and scatter plot matrices.
I'm guessing that "tip variables" are variables whose values appear
when you hover the mouse pointer over a point in a plot in an html
document. So I tried this:
data work ;
set work ;
attrib tip label='Tip variable' length=$14 ;
tip = 'ALT='||quote(subjid) ;
run ;
ods graphics on ;
options orientation=portrait topmargin='1 in' bottommargin='1 in'
leftmargin='1 in' rightmargin='1 in' ;
ods html file="&progname..htm" style=minimal ;
proc corr data=work Pearson Spearman plots(only)=scatter ;
by sdcohass ;
var t3 ;
with t4 ;
id tip ;
run ;
ods html close ;
It doesn't work. Neither does using just "id subjid ;".
Does anyone know what the doc means or how to make it work?
Thanks,
Ann
|