[R] help with merging two dataframes function of "egrep"-like formulas
Bogdan Tanasa
t@n@@@ @ending from gm@il@com
Thu Jul 19 00:12:15 CEST 2018
Dear all,
please may I ask for a piece of advise regarding merging two dataframes :
A <- data.frame(z=c("a*b", "c*d", "d*e", "e*f"), t =c(1, 2, 3, 4))
B <- data.frame(z=c("a*b::x*y", "c", "", "g*h"), t =c(1, 2, 3, 4))
function of the criteria :
if "the elements in the 1st column of A could be found among the elements
of the 1st column of B" i.e.
for the example above, we shall combine in the results only the row with
"a*b" of A with the row with "a*b::x*y" of B.
thank you,
bogdan
[[alternative HTML version deleted]]
More information about the R-help
mailing list