Date: Mon, 23 Sep 2002 11:13:15 -0700
Reply-To: Kit Leung <hello_joecool@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Kit Leung <hello_joecool@HOTMAIL.COM>
Content-Type: text/plain; format=flowed
Hi,
I have a question on creating an aggregate data.
Here's my data:
ID varx vary
1 a apple
1 b orange
1 c banana
2 d pear
2
3
.
I would need to create an aggregate data by ID and create a list of flag
variables like this:
ID a b c d apple orange banana pear
1 1 1 1 1 1 1
2 1 1
Thanks so much.
kit
_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com