Let's say there are two data frames as followed:
test.df1 <- data.frame(id = c(1:5), nr = rnorm(5))
test.df2 <- rbind(test.df1, data.frame(id = c(6:8), nr = rnorm(3)))
Obviously, test.df2 has 3 rows of data, which are not present in test.df1. How can I quickly pick up these additional data. The end effect I wish to have is to obtain a data frame, which contains the 3 rows that are only contained in test.df2. Any help will be appreciated!