lagLinearFUN: Linear Model Using Last n Lags as the Independent Variable.

Description Usage Arguments Examples

View source: R/lagLinearFUN.R

Description

A function that uses the average of the previous n values as the independent variable in a linear regression model.

Usage

1
lagLinearFUN(x, obs, lags = 3)

Arguments

obs

The column under investigation.

lags

The number of lags to go back and average over.

Examples

1

gmiskell/lurFunctions documentation built on May 17, 2019, 7:06 p.m.