lag_list: lag_list

View source: R/RcppExports.R

lag_listR Documentation

lag_list

Description

Create lagged terms

Usage

lag_list(x, lags, n_subset, n_shift)

Arguments

x

numeric vector - variable to lag

lags

integer vector - amount to lag

n_subset

take every n_subset rows

n_shift

shift values from starting on first row. Should be less than n_subset

Value

List of lagged terms


jkennel/hydrorecipes documentation built on Feb. 23, 2025, 11:03 a.m.