seasonal_lag_windows: Creates a window around each seasonal lag, with...

Description Usage Arguments Value See Also

Description

Creates a window around each seasonal lag, with width+shift/width-shift on each side.

Usage

1
2
seasonal_lag_windows(x, P = 1, freq = frequency(x), width = 0,
  shift = 0, no_peeking = TRUE, pstr = deparse(substitute(x)))

Arguments

x

data input (can handle multi-column data, such as data.frames)

P

seasonal window length

freq

seasonal frequency

width

width of the left or right window

shift

shifts each window towards the end of time-series

no_peeking

if TRUE, lags <= 0 (from now and future) are removed

pstr

name of data column

Value

A time-series object of lagged and leaded x

See Also

lag_windows, centered_lagged_windows


fnoorian/mltsp documentation built on May 16, 2019, 1:48 p.m.