LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (August 2008, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 18 Aug 2008 10:16:09 -0700
Reply-To:   AWOL <ann.olmsted@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   AWOL <ann.olmsted@GMAIL.COM>
Organization:   http://groups.google.com
Subject:   mystified by 9.2 proc corr documentation re adding "tip variables" -- can anyone help
Comments:   To: sas-l@uga.edu
Content-Type:   text/plain; charset=ISO-8859-1

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


Back to: Top of message | Previous page | Main SAS-L page