ATA.Shift {ATAforecasting}R Documentation

Lag/Lead (Shift) Function for Univariate Series

Description

Lag/Lead (Shift) Function for Univariate Series

Usage

ATA.Shift(x, shift_by, fill = NA)

Arguments

x

given vector

shift_by

lag or lead parameter

fill

a value to be used to fill the rows

Value

Generating a lag/lead variables


[Package ATAforecasting version 0.0.60 Index]