qdiag | R Documentation |
Fast extraction of matrix diagonal
qdiag(x)
x |
The matrix to extract the diagonal from |
Note this function can only be used for extraction
A vector with the diagonal elements
Claus Ekstrom <claus@rprimer.dk>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.