View source: R/group_split_named.R
group_split_named | R Documentation |
Behaves similarly to dplyr::group_split(), with the addition of named list elements. Borrowed from Romain Francois in this dplyr issue: https://github.com/tidyverse/dplyr/issues/4223
group_split_named(.tbl, ...)
.tbl |
a data frame |
... |
Grouping specification, forwarded to group_by() |
a named list
## Not run:
mtcars %>% group_split_named(am)
mtcars %>% group_split_named(cyl, am)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.