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?
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?
|