Description Usage Arguments Value Examples
Function to add numeric to the diagonal of a matrix
| 1 | add.diag(M, d)
 | 
| M | Matrix | 
| d | Vector to add to the diagonal of the matrix | 
Matrix with increased diagonal elements
Matrix with modified diagonal entries
| 1 2 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.