| cmd_list_drop_named | R Documentation |
A pipe-friendly wrapper around list[!(names(list) %in% names)]
This function is slightly faster than using cmd_list_drop() to drop items
by name.
cmd_list_drop_named(list, names)
list |
an R list |
names |
vector of names to drop |
list removing items defined by names
cmd_list_drop_named(list("a" = 1, "b" = 2), "a")