powered by
Default value for .drop argument of group_by
group_by_drop_default(.tbl)
TRUE unless .tbl is a grouped data frame that was previously obtained by group_by(.drop = FALSE)
TRUE
.tbl
group_by(.drop = FALSE)
A data frame
group_by_drop_default(iris) iris %>% group_by(Species) %>% group_by_drop_default() iris %>% group_by(Species, .drop = FALSE) %>% group_by_drop_default()
Run the code above in your browser using DataLab