powered by
appends NA at beginning of diff(y) and creates column names accordingly when y is either a vector and a matrix
diffe(y)
either a vector and a matrix
Dy contains the differences of y, with NA appended at the start
Berta et al. 2020