Date: Sat, 9 Apr 2005 10:13:44 +0200
Reply-To: Mariusz Gromada <mariusz.gromada@WP.PL>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Mariusz Gromada <mariusz.gromada@WP.PL>
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Subject: Re: Rearranging values of repeated measures in a table
In-Reply-To: <1113027345.283695.22330@o13g2000cwo.googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
You can use "proc transpose". See some code below:
data test;
infile cards dlm=',';
input ID SampleResult;
cards;
101,0.7
101,0.0
103,0.0
107,0.4
107,0.6
107,0.6
107,0.8
126,0.7
126,0.7
133,0.7
;
run;
proc transpose data=test out=ttest;
by ID;
run;
Regards,
Mariusz
|