calculateLagGroupedDF: Calculate lags on a grouped dataframe

Description Usage Arguments

View source: R/lag_functions.R

Description

the function first arranges by Date

Usage

1
2
calculateLagGroupedDF(x, vars, arrange.variable = "Date",
  grouping.variable = "PlantID")

Arguments

x

the dataset

vars

the vector of variables

arrange.variable

is variable that arranges the data. Defaults to "Date".

grouping.variable

is the variable that groups the data. Defaults to "PlantID".


ksauby/dataproc documentation built on May 20, 2019, 7:02 p.m.