Skip to content
Prev 306107 / 398506 Next

Rows not common in dataframes

Le lundi 24 septembre 2012 ? 13:22 +1000, Chintanu a ?crit :
So you just want to drop some rows from A? In that case, do:
Dataframe_A <- Dataframe_A[!Dataframe_A[[1]] %in% Dataframe_B[[2]],]
No need for merge, as all rows you need are already in A.


My two cents