moving_difference: Calculate velocity. calculate the difference of values in...

View source: R/velocity.R

moving_differenceR Documentation

Calculate velocity. calculate the difference of values in each ordered value of an array

Description

Calculate velocity. calculate the difference of values in each ordered value of an array

Usage

moving_difference(x)

Arguments

x

The array to transform

Value

an array of same length (first value is NA)

Examples

moving_difference(c(1,4,-2, 2))

davidecannatanuig/openFaceR documentation built on Feb. 28, 2024, 7:21 p.m.