open_in_new
content_copy
col_list <- c("col1", "col2") df %>% dplyr::group_by(dplyr::across(dplyr::all_of(col_list)))