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 (July 2005, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 5 Jul 2005 21:53:13 +0000
Reply-To:     toby dunn <tobydunn@HOTMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         toby dunn <tobydunn@HOTMAIL.COM>
Subject:      Re: how to choose all of the odd observations in a data set?
Comments: To: alberthz@STANFORD.EDU
In-Reply-To:  <daesvl$52r$1@news.Stanford.EDU>
Content-Type: text/plain; format=flowed

Zhuo,

data one ; infile cards dsd dlm = ' ' ; input id ; cards ; 1 2 3 4 5 6 ; run ;

data two ; set one ; where mod(id,2) ne 0 ; run ;

proc print ; run ;

Toby Dunn

From: Zhuo Huang <alberthz@STANFORD.EDU> Reply-To: Zhuo Huang <alberthz@STANFORD.EDU> To: SAS-L@LISTSERV.UGA.EDU Subject: how to choose all of the odd observations in a data set? Date: Tue, 5 Jul 2005 14:09:45 -0700

how to choose all of the odd observations in a data set?


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