Hi Sarah,

thanks a lot for this peace of code.

Is it possible to give the second sequence of "B" in your second example
(data frame b) 
the numbers 6, 7 and 8 instead of 1, 2 and 3 again? In my real data I have
more columns than
only those two and sometimes the are sorted differently so that column name
rather looks like
your second example (data frame b) rather than your first one.

Regards

--
View this message in context: 
http://r.789695.n4.nabble.com/Add-number-series-to-data-frame-tp4450495p4450656.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to