Description Usage Arguments Value Examples
head_while combinator which returns head elements while predicate is TRUE
1 | head_while(x, p)
|
x |
vector to filter |
p |
predicate |
head filtered
1 | head_while(c(1, 2, 3, 4, 1, 2), (~ x < 3))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.