%==% {do} | R Documentation |
Locate Accurately
Description
Locate Accurately
Usage
a %==% b
Arguments
a |
vector for matching |
b |
vector for searching |
Value
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.
Examples
a=c(1,2,3,4)
b=c(1,2,3,1,4,1,5,6,1,4,1)
a %==% b
[Package do version 2.0.0.0 Index]