s-news
[Top] [All Lists]

[S] rbind when the columns are not in the same order?

To: <s-news@wubios.wustl.edu>
Subject: [S] rbind when the columns are not in the same order?
From: "Ana Sebastian" <ana.sebastian@jrc.it>
Date: Sat, 21 Oct 2000 10:25:54 +0200
Sender: owner-s-news@wubios.wustl.edu
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 columns are placed:  Name1 | Name2 | Name3...;  2nd
frame 's columns are Name2| Name3| Name1|... and so on..
How can I append frame 2 to frame 1 making sure that values under "Name1"
keep always under "Name1" ??
Thanks very much in advance for any help.

Ana
.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
 Ana Sebastian Lopez
 EC-DG Joint Research Centre
 Space Applications Institute
 ARIS-Natural Hazards (TP 263)
 I-21020, Ispra (Va), Italy .

 Phone: 39 0332 786376
 Fax:      39 0332 785500
 email: ana.sebastian@jrc.it
    http://www.sai.jrc.it
    http://natural-hazards.aris.sai.jrc.it


-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

<Prev in Thread] Current Thread [Next in Thread>