diff_inv: Discrete Intergral: Inverse Difference

View source: R/RcppExports.R

intgr_vecR Documentation

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.


SMAC-Group/simts documentation built on Sept. 4, 2023, 5:25 a.m.