[R] question of merging two dataframes
freezhu8
freezhu8 at gmail.com
Tue Jan 31 19:51:36 CET 2012
Suppose I have two data frames A and B
A has three variables and B also has three variables.
I would like to merge these two database but the requirement to merge
is that the value of the second column in database A is less than the
value of the second column in database B. Is there a R code to do
this? Thanks
Dataframe A: V1a V2a V3a
1 2 3 5
2 3 4 6
3
Dataframe B: V1b V2b V3b
1 2 5 9
2 9 2 7
Dataframe C should be: V1a V2a V3a V1b V2b V3b
1 2 3 5 2 5 9
--
View this message in context: http://r.789695.n4.nabble.com/question-of-merging-two-dataframes-tp4345469p4345469.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list