wapply: Window apply

Description Usage Arguments Details

View source: R/wapply.R

Description

Apply across a window,

Usage

1
wapply(x, width, by = NULL, FUN = NULL, ...)

Arguments

x

the variable to apply with a window

width

window width

by

how often to apply the window

FUN

function to apply

Details

An apply function for windows, similar to rollapply in the zoo package


dprocter/dpfuncs documentation built on May 21, 2019, 9:20 a.m.