| matDiag | R Documentation | 
Diagonal matrix
matDiag(psBaseElement, pnNrRow, pnNrCol)
psBaseElement | 
 constant prefix of each matrix element  | 
pnNrRow | 
 number of rows  | 
pnNrCol | 
 number of columns  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.