% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/reframe.R
\name{reframe}
\alias{reframe}
\title{Summarise with variable-length output per group}
\usage{
reframe(.data, ...)
}
\arguments{
\item{.data}{A \code{vectra_node} object.}

\item{...}{Named expressions.}
}
\value{
A data.frame (not a lazy node).
}
\description{
Like \code{\link[=summarise]{summarise()}} but allows expressions that return more than one row
per group. Currently implemented via \code{collect()} fallback.
}
\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)

}
