Description Usage Arguments Details Value Examples
A pipe-friendly wrapper around list[(names(list) %in% names]
.
1 |
list |
an R list |
names |
vector of names to keep |
This function is slightly faster than using cmd_list_keep()
to keep items
by name.
list keeping only items defined by names
1 | cmd_list_keep_named(list("a" = 1, "b" = 2), "a")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.