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. 20, 2020, 1:42 p.m.