[R] Add number series to data frame

syrvn mentor_ at gmx.net
Tue Mar 6 18:32:37 CET 2012


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.



More information about the R-help mailing list