derivative: Take the derivative of a vector v

Description Usage Arguments Value

View source: R/utils.R

Description

Take the derivative of a vector v by calculating the difference between component x_i and x_(i-1).

Usage

1

Arguments

v

A numeric vector

Value

A numeric vector


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