count_rowsback: Count the number of rows to go back in data frame

Description Usage Arguments Value

Description

Takes a vector of POSIXct and counts the number of rows which would fall within the specified time frame. Typically called from mutate and the results are passed on to rollapplyr.

Usage

1
count_rowsback(x, back = 2)

Arguments

x

= vector of type POSIXct

back

= integer indicating the number of days back to include

Value

integer vector


bgulbis/edwr documentation built on May 12, 2019, 8:22 p.m.