View source: R/otherFunctions.R
diffMatrix | R Documentation |
diffMatrix calculates the difference penalty matrix The third order difference penalty matrix is difference from the one produced by the other functions. However, the penalty matrix t(D) remains the same
diffMatrix(k, d = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.