Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

diff_inv

Discrete Intergral: Inverse Difference


Description

Takes the inverse difference (e.g. goes from diff() result back to previous vector)

Usage

intgr_vec(x, xi, lag)

diff_inv_values(x, lag, d, xi)

diff_inv(x, lag, d)

Arguments

x

A vec containing the data

xi

A vec with length lag*d that provides initial values for the integration.

lag

An unsigned int indicating the lag between observations.

d

An unsigned int which gives the number of "differences" to invert.


simts

Time Series Analysis Tools

v0.1.1
AGPL-3 | file LICENSE
Authors
Stéphane Guerrier [aut, cre, cph], James Balamuta [aut, cph], Roberto Molinari [aut, cph], Justin Lee [aut], Yuming Zhang [aut], Wenchao Yang [ctb], Nathanael Claussen [ctb], Yunxiang Zhang [ctb], Christian Gunning [cph], Romain Francois [cph], Ross Ihaka [cph], R Core Team [cph]
Initial release
2019-07-21

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.