[R] Expand dataframe according to limits defined per row
darkgaze
donaldngwe at gmail.com
Fri Oct 7 16:02:50 CEST 2011
Hi all,
Would appreciate help with transforming this:
A B C D
a 2 1 4
b 3 3 5
into this:
A B E
a 2 1
a 2 2
a 2 3
a 2 4
b 3 3
b 3 4
b 3 5
(C<=E<=D)
Best,
Don
--
View this message in context: http://r.789695.n4.nabble.com/Expand-dataframe-according-to-limits-defined-per-row-tp3882319p3882319.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list