[R] help with simple but massive data transformation
clee
cheelee7 at gmail.com
Mon Oct 11 16:16:55 CEST 2010
I have data that looks like this:
start end value
1 4 2
5 8 1
9 10 0
I want to transform the data so that it becomes:
startend value
1 2
2 2
3 2
4 2
5 1
6 1
7 1
8 1
9 0
10 0
----
I've written a for loop that can do the transformation BUT I need to do this
on very large datasets (millions of rows). Does anyone know of an R package
that has a function that can do this transformation?
Any help is much appreciated!
Thanks!
--
View this message in context: http://r.789695.n4.nabble.com/help-with-simple-but-massive-data-transformation-tp2989850p2989850.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list