View source: R/MatrixFunctions.R
| removeDiagonal | R Documentation |
Function removes a diagonal from a square p by p matrix
and returns (p-1) by p matrix
removeDiagonal(M)
M |
a matrix in which you need to remove a diagonal |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.