Taken from genlasso package. Usefull to construct the structring matrix
diffOp(p, K = 1)
an integer for the number of features
an integer for the order (default is 1) for the order of the derivative operator
an sparse matrix with class
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.