Displaying 1 result from an estimated 1 matches for "tp3876252p3876252".
2011 Oct 05
1
Subsetting question
...i all,
Suppose I have
data1
A B
1 a
1 b
2 c
2 d
and
data2
D E F
x y 1
w z 2
and I want
data2
D E F G
x y 1 a,b
w z 3 c,d
I am trying
data2$G=list(data1$B[data1$A==data2$F,])
How do I correct this approach?
--
View this message in context: http://r.789695.n4.nabble.com/Subsetting-question-tp3876252p3876252.html
Sent from the R help mailing list archive at Nabble.com.