kOverA | R Documentation |
kOverA
returns a filter function with bindings for k
and
A
. This function evaluates to TRUE
if at least k
of the arguments elements are larger than A
.
kOverA(k, A=100, na.rm=TRUE)
A |
The value you want to exceed. |
k |
The number of elements that have to exceed A. |
na.rm |
If set to |
A function with bindings for A
and k
.
R. Gentleman
pOverA
fg <- kOverA(5, 100)
fg(90:100)
fg(98:110)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.