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 Oct. 23, 2018, 10:27 p.m.