group_by_drop_default | R Documentation |
Default value for .drop argument of group_by
group_by_drop_default(.tbl)
.tbl |
A data frame |
TRUE
unless .tbl
is a grouped data frame that was previously
obtained by group_by(.drop = FALSE)
group_by_drop_default(iris)
iris %>%
group_by(Species) %>%
group_by_drop_default()
iris %>%
group_by(Species, .drop = FALSE) %>%
group_by_drop_default()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.