Hi Laura,

Off the top of my head I'd suggest something like this (assuming your
data frames are named a and b)

a$ord <- 1:nrow(a)
b$ord <- (1:nrow(b))*2
c <- rbind(a, b)
c <- c[order(c$ord), ]

ie.  add a new column that has the desired ordering, then join the two
data frames together, then reorder.  (code not checked).

Hadley

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to