pkgdown/mathjax-config.html

Skip to contents

Group a vectra query by columns

Usage

group_by(.data, ...)

Arguments

.data

A vectra_node object.

...

Grouping column names (unquoted).

Value

A vectra_node with grouping information stored.

Examples

f <- tempfile(fileext = ".vtr")
write_vtr(mtcars, f)
tbl(f) |> group_by(cyl) |> summarise(avg = mean(mpg)) |> collect()
unlink(f)