R functions in running window

Using custom R function on running window

runner()

Apply running function

run_by()

Set window parameters

window_run()

List of running windows

Running aggregations

Aggregating functions applied on running windows

length_run()

Length of running windows

mean_run()

Running mean

minmax_run()

Running min/max

min_run()

Running minimum

max_run()

Running maximum

streak_run()

Running streak length

sum_run()

Running sum

Utility functions

Functions applied in running window

fill_run()

Fill NA with previous non-NA element

lag_run()

Lag dependent on variable

which_run()

Running which