Efficiently merging two data frames on a non-trivial criteria
问题 Answering this question last night, I spent a good hour trying to find a solution that didn't grow a data.frame in a for loop, without any success, so I'm curious if there's a better way to go about this problem. The general case of the problem boils down to this: Merge two data.frames Entries in either data.frame can have 0 or more matching entries in the other. We only care about entries that have 1 or more matches across both. The match function is complex involving multiple columns in