Finds indices of nonzero elements.
logical or numeric vector or array
Finds indices of true or nonzero elements of argument v;
can be used with a logical expression.
Indices of elements matching the expression x.
finds(-3:3 >= 0)
finds(c(0, 1, 0, 2, 3))
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.