first_difference: Calculate the first difference of a vector.

Description Usage Arguments Value

View source: R/first_difference.R

Description

Function to calculate the first difference of a vector.

Usage

1

Arguments

x

- the vector to calculate the first difference for

Value

the vector of first differences


wStockhausen/wtsUtilities documentation built on Aug. 12, 2018, 7:01 a.m.