| To: | s-news@wubios.wustl.edu |
|---|---|
| Subject: | converting a data frame to a list |
| From: | "Walter R. Paczkowski" <dataanalytics@earthlink.net> |
| Date: | Sat, 20 May 2006 12:51:45 -0400 |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=ZUuxhlDVXbY17dfZj/JvbR7GmdOI6le9NYGc8op02jhtd2NgLsV+6OBjvMwAkPBL; h=Received:Message-Id:X-Mailer:Date:To:From:Subject:Mime-Version:Content-Type:X-ELNK-Trace:X-Originating-IP; |
|
Hi, Suppose I have a data frame with n rows and six columns. I want to create a list that has, say, 3 components each with all n rows but with the first having the first two columns of the original data frame, the second component having the next two columns, and the third having the last two columns. SPLIT doesn't work since it splits the rows. I want to split the columns. Transpose doesn't work that I can see. Any suggestions? Thanks, Walt Paczkowski Walter R. Paczkowski, Ph.D. Data Analytics Corp. 44 Hamilton Lane Plainsboro, NJ 08536 (V) 609-936-8999 (F) 609-936-3733 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: formatting factor levels with special labels, Carlos Alzola |
|---|---|
| Next by Date: | Re: converting a data frame to a list, Dimitrios Rizopoulos |
| Previous by Thread: | formatting factor levels with special labels, Savitri Appana |
| Next by Thread: | Re: converting a data frame to a list, Dimitrios Rizopoulos |
| Indexes: | [Date] [Thread] [Top] [All Lists] |