I have two data frames, I was wondering how could I create a new column in the data frame "a" that indicates when theres a match with b?
data:
a <- c("123","123","321","321", "213")
a <- data.frame(a)
b <- c("123", "213")
b <- data.frame(b)
Result:
Match
123 Yes
123 Yes
321 No
321 No
213 Yes