Generates a first order penalty matrix discussed by Lang and Brezger (2012). In short, when used as a prior precision matrix for B-splines, this matrix imposes a roughness penalty. Note that this matrix is not full rank.
1 |
dim |
dimension of output matrix. Must be at least three. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.