Skip to content
Prev 374374 / 398530 Next

Merging dataframes

Hello,

Is it something like this that you want?

x <- data.frame(a = c(1:3, 5, 5:10), b = c(1:7, 7, 9:10))
y <- data.frame(a = 1:10, b = 1:10)

which(x != y, arr.ind = TRUE)


Hope this helps,

Rui Barradas
On 5/1/2018 11:35 AM, Chintanu wrote: