dplyr function with optional grouping only when argument provided Dynamic Grouping in dplyr Making Your Code More Flexible Data analysis often involves summarizing data in different ways sometimes requiring grouping by specifi 2 min read 06-10-2024 8