diff_cpp: Lagged Differences in Armadillo

Description Usage Arguments Value Author(s)

View source: R/RcppExports.R

Description

Returns the ith difference of a time series of rth lag.

Usage

1
diff_cpp(x, lag, differences)

Arguments

x

A vec that is the time series

lag

A unsigned int that indicates the lag

differences

A dif that indicates how many differences should be taken

Value

A vector containing the differenced time series.

Author(s)

James J Balamuta


wv documentation built on Jan. 17, 2020, 1:07 a.m.

Related to diff_cpp in wv...