integral: Take the integral of a vector v

Description Usage Arguments Value

View source: R/utils.R

Description

Take the integral of a vector v by computing the inverse of the lagged differences (diff function).

Usage

1

Arguments

v

A numeric vector

Value

The integral of v as a numeric vector.


Sage-Bionetworks/mHealthTools documentation built on Sept. 21, 2020, 12:35 p.m.