Description Usage Arguments Details Value
Find indices of cells that satisfy a predicate
1 | find_cell_indices(mat, margin, predicate, ...)
|
mat |
Matrix |
margin |
Whether to apply |
predicate |
A function that takes a vector (a row or a column
of |
... |
Passed on to |
Note that predicate can use information on all
elements in a row (column) to decide whether a particular
element of the row (column) satisfies the predicate or not.
A two-column character matrix that can be used as index to
mat to extract elements that satisfy predicate.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.