| Date: | Fri, 12 Dec 2003 11:41:06 -0800 |
| Reply-To: | sonia afroz <afroz_sonia@HOTMAIL.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | sonia afroz <afroz_sonia@HOTMAIL.COM> |
| Subject: | Creating new rows in a datset |
| Content-Type: | text/plain; format=flowed |
|---|
hi,
I have a dataset where I have only one column and 229 row.
Like :
2.3
3.4
-5.7
3.3
3.5
.
.
.
I want to make a transpose of this column and make it the first row instead
of the first column and then add new rows to the dataset so that in the 2nd
row starts with is the 2nd observation of the first row and the 3rd row
starts with the 3rd obs in the first row and so and so forth,
so that the new dataset looks like:
2.3 3.4 -5.7 3.3 3.5
3.4 -5.7 3.3 3.5
-5.7 3.3 3.5
3.3 3.5
3.5
What should my SAS code be for doing this.
Thanks for all your help,
sonia
_________________________________________________________________
Browse styles for all ages, from the latest looks to cozy weekend wear at
MSN Shopping. And check out the beauty products! http://shopping.msn.com
|