find {matlab} | R Documentation |
Finds indices of elements.
find(x)
x |
expression to evaluate |
If expression is not logical, finds indices of nonzero elements of
argument x
.
Returns indices of corresponding elements matching the expression x
.
P. Roebuck proebuck1701@gmail.com
find(-3:3 >= 0)
find(c(0, 1, 0, 2, 3))