direction: For a numeric vector of values, return its relation to the...

View source: R/direction.R

directionR Documentation

For a numeric vector of values, return its relation to the previous (lagged) value

Description

For a numeric vector of values, return its relation to the previous (lagged) value

Usage

direction(x)

Arguments

x

Numeric vector to pass through


martinctc/tstoolbox documentation built on Nov. 20, 2024, 3:55 p.m.