myGetDkn | R Documentation |
myGetDkn
computes the kth order differencing matrix for use in
trend filtering regression
myGetDkn(k, n)
k |
Order of the differencing matrix |
n |
Number of time points |
Returns a Matrix object as the kth order differencing matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.