Description Usage Arguments Value Examples
Count the number of elements that satisfy given condition
1 | list.count(.data, cond)
|
.data |
A |
cond |
A logical lambda expression for each element of |
An integer that indicates the number of elements with which cond
is evaluated
to be TRUE
.
1 2 3 4 5 |
[1] 2
[1] 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.