myGetDkn.Rd
myGetDkn computes the kth order differencing matrix for use in trend filtering regression
myGetDkn
myGetDkn(k, n)
Order of the differencing matrix
Number of time points
Returns a Matrix object as the kth order differencing matrix