reframe: Summarise with variable-length output per group

View source: R/reframe.R

reframeR Documentation

Summarise with variable-length output per group

Description

Like summarise() but allows expressions that return more than one row per group. Currently implemented via collect() fallback.

Usage

reframe(.data, ...)

Arguments

.data

A vectra_node object.

...

Named expressions.

Value

A data.frame (not a lazy node).

Examples

f <- tempfile(fileext = ".vtr")
write_vtr(data.frame(g = c("a", "a", "b"), x = c(1, 2, 3)), f)
tbl(f) |> group_by(g) |> reframe(range_x = range(x))
unlink(f)


vectra documentation built on May 8, 2026, 9:06 a.m.