R/group-by.R
groups.tbl_gpu.Rd
Returns a list of symbols representing the grouping columns.
# S3 method for class 'tbl_gpu' groups(x)
A tbl_gpu object.
tbl_gpu
A list of symbols for the grouping columns.
library(dplyr) if (has_gpu()) { gpu_mtcars <- tbl_gpu(mtcars) grouped <- gpu_mtcars |> group_by(cyl) groups(grouped) # list(as.symbol("cyl")) } #> [[1]] #> cyl #>