Skip to content
Prev 374375 / 398530 Next

Merging dataframes

I'd expect more like

setdiff(A$key, B$key) 

and vice versa. Or, if you want the actual rows

A[!(A$key %in% B$key),]

or for the row numbers

which(!(A$key %in% B$key))


-pd