Diag | R Documentation |
Turns an expression into a DiagVec object
Diag(expr)
expr |
An Expression that represents a vector or square matrix. |
An Expression representing the diagonal vector/matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.