Date: Wed, 10 Jan 2007 22:52:39 -0800
Reply-To: David L Cassell <davidlcassell@MSN.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: David L Cassell <davidlcassell@MSN.COM>
Subject: Re: Help for proc transpose
Content-Type: text/plain; format=flowed
>I had a stupid question about proc transpose
>Here is my data
>1 1 a j
>1 2 b k
>1 3 c l
>2 1 d m
>2 2 e n
>2 3 f o
>3 1 g p
>3 2 h q
>3 3 i r
>I want to transpose the dataset like this:
>1 a j d m g p
>2 b k e n h q
>3 c l f o i r
>How can I do that? Thanks
I see that people have told you how to do this.
I would like to suggest that you not do it at all.
You are turning what looks like a workable data structure into
a major headache in the making. Your transposed form will
be harder to work with, harder to analyze, harder to handle
in database managment issues, etc.
If you need this as output (e.g., a display or an Excel file)
then there may be better options. Otherwise, I would suggest
that you avoid going this route.
David L. Cassell
3115 NW Norwood Pl.
Corvallis OR 97330
Find sales, coupons, and free shipping, all in one place! MSN Shopping
Sales & Deals