diff {math} R Documentation

Lagged Differences

Description


Returns suitably lagged and iterated differences.

Usage

diff(x);

Arguments

x

a numeric vector Or matrix containing the values To be differenced.

Details

is.finite returns a vector of the same length as x the jth element of which is TRUE if x[j] is finite (i.e., it is not one of the values NA, NaN, Inf or -Inf) and FALSE otherwise. Complex numbers are finite if both the real and imaginary parts are.

Authors

SMRUCC genomics Institute

Value

this function returns data object of type double.

clr value class

Examples


[Package math version 2.33.856.6961 Index]