%==% {do} | R Documentation |
Locate Accurately
a %==% b
a |
vector for matching |
b |
vector for searching |
If length of a is one, a vector will be return. If length of a is more than one, a list for each element will be return.
a=c(1,2,3,4)
b=c(1,2,3,1,4,1,5,6,1,4,1)
a %==% b