Description Usage Arguments Value See Also Examples
keep_at()
keeps only the elements from specific positions
while discard_at()
does the opposite.
The functions are wrappers around purrr::keep
and
purrr::discard
, respectively.
1 2 3 | keep_at(.x, .at)
discard_at(.x, .at)
|
.x |
A list or a vector. |
.at |
A character vector (names), a numeric vector (positions),
a symbol or or a list generated by
|
A list or a vector.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.