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 (March 2002, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Fri, 29 Mar 2002 01:39:24 GMT
Reply-To:   Arthur Tabachneck <atabachneck@ROGERS.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Arthur Tabachneck <atabachneck@ROGERS.COM>
Subject:   Re: how to transform this data set? Thanks!

In case you want a third approach:

proc sort data=one; by subject; run; proc summary data=one; by subject; var score; output out=two (drop=_freq_ _type_) sum=; run; ---------------- Jinrui Cui <jcui@UCLA.EDU> wrote in message news:200203290013.QAA07439@serval.noc.ucla.edu... > Hi, > > I have a data set (a), how to transfrom it into (b)? > > (a) (b) > ------------- ------------------ > A 15 A 30 > A 5 B 10 > A 10 C 15 > B 10 ------------------ > C 5 > C 10 > ------------- > > Thanks! > > Henry


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