with_order

0th

Percentile

Run a function with one order, translating result back to original order

This is used to power the ordering parameters of dplyr's window functions

Keywords
internal
Usage
with_order(order_by, fun, x, ...)
Arguments
order_by

vector to order by

fun

window function

x, ...

arguments to f

Aliases
  • with_order
Documentation reproduced from package dplyr, version 0.5.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.