remove-keys-scoped | R Documentation |
These functions remove selection of keys using corresponding
scoped variant of select. .funs
argument is removed because of its redundancy.
remove_keys_all(.tbl, ..., .unkey = FALSE)
remove_keys_if(.tbl, .predicate, ..., .unkey = FALSE)
remove_keys_at(.tbl, .vars, ..., .unkey = FALSE)
.tbl |
Reference data frame. |
... |
Parameter for scoped functions. |
.unkey |
Whether to |
.predicate |
Parameter for scoped functions. |
.vars |
Parameter for scoped functions. |
df <- mtcars %>% dplyr::as_tibble() %>% key_by(vs, am, disp)
df %>% remove_keys_all()
df %>% remove_keys_all(.unkey = TRUE)
df %>% remove_keys_if(rlang::is_integerish)
df %>% remove_keys_at(c("vs", "am"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.