Description Usage Arguments Value Examples
Find the indices of a number of elements in a list or vector satisfying a given condition
1 | list.findi(.data, cond, n = 1L)
|
.data |
A |
cond |
A logical lambda expression |
n |
The number of items to find. ( |
an integer vector consisting of the elements indices
1 2 3 4 5 6 |
[1] 2
[1] 1
[1] 1 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.