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 (April 2005, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: sas-l@uga.edu
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


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