https://github.com/hadley/dplyr
Raw File
Tip revision: 98b8a0f5de25e238ac97514da24ec228610c8701 authored by Lionel Henry on 19 January 2021, 09:23:23 UTC
Merge pull request #5686 from lionel-/fix-warning-overhead
Tip revision: 98b8a0f
with_order.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/order-by.R
\name{with_order}
\alias{with_order}
\title{Run a function with one order, translating result back to original order}
\usage{
with_order(order_by, fun, x, ...)
}
\arguments{
\item{order_by}{vector to order by}

\item{fun}{window function}

\item{x, ...}{arguments to \code{f}}
}
\description{
This is used to power the ordering parameters of dplyr's window functions
}
\keyword{internal}
back to top