build_D_mat {WH} | R Documentation |
Build Difference Matrix of Given Order
build_D_mat(n, q)
n |
Number of observations in the problem |
q |
Order of the penalization matrix |
The difference matrix of order q
for a vector containing
n
observations.