0
My intention here is to find the elements in common between a and b.
a <- seq(from=1, to=5, by=1)
b <- seq(from=5, to=13, by=1)
x <- which(a==b)
Warning message:
In a == b : longer object length is not a multiple of shorter object length.
How can I do that?
The question is very confusing. What you want is to find the common elements between
aandb? For example, the answer to your code above should be5?– Marcus Nunes
exact. thank you.
– Fernando