https://github.com/hadley/dplyr
Tip revision: 1405946245d65c32b64ee3ffc2e7ba24a8fb445c authored by Romain Francois on 31 August 2015, 16:34:19 UTC
oops forgot to define y. 🍤
oops forgot to define y. 🍤
Tip revision: 1405946
with_order.Rd
% Generated by roxygen2 (4.1.1): 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}