Description Usage Arguments Value

Taken from genlasso package. Usefull to construct the structring matrix

1 | ```
diffOp(p, K = 1)
``` |

`p` |
an integer for the number of features |

`K` |
an integer for the order (default is 1) for the order of the derivative operator |

an sparse matrix with class `dgCMatrix`

.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.