diffe {cif}R Documentation

appends NA at beginning of diff(y)

Description

appends NA at beginning of diff(y) and creates column names accordingly when y is either a vector and a matrix

Usage

diffe(y)

Arguments

y

either a vector and a matrix

Value

Dy contains the differences of y, with NA appended at the start

Author(s)

P. Paruolo

References

Berta et al. 2020


[Package cif version 0.0.9 Index]