powered by
It creates a matrix of first differences of order k.
dfm(k)
size of the matrix
first difference matrix
# NOT RUN { D = dfm(5) x = runif(5) (D%*%x) # }
Run the code above in your browser using DataLab