- 1. [S] rbind when the columns are not in the same order? (score: 1)
- Author: "Ana Sebastian" <ana.sebastian@jrc.it>
- Date: Sat, 21 Oct 2000 10:25:54 +0200
- Dear S-plus users, I have several (hudge) dataframes which I need to append. I was about to use "rbind", when I realised that the columns are not placed in the same order, for instance, frame 1's col
- /archives/html/s-news/2000-09/msg00149.html (7,988 bytes)
- 2. Re: [S] rbind when the columns are not in the same order? (score: 1)
- Author: Henrik Aalborg Nielsen <immhan@student.dtu.dk>
- Date: Thu, 21 Sep 2000 13:38:07 +0200 (METDST)
- Dear Ana, I think something like rbind(df1[,sort(names(df1))], df2[,sort(names(df2))], df3[,sort(names(df3))]) will do the job. Regards, Henrik -- Henrik Aalborg Nielsen Department of Mathematical Mo
- /archives/html/s-news/2000-09/msg00151.html (9,890 bytes)
This search system is powered by
Namazu