is_diag | R Documentation |
This function indicates whether the matrix supplied is diagonal.
is_diag(A)
A |
Matrix to be tested |
Logical value indicating whether matrix is diagonal
A <- cbind(c(1,1),c(0,1)
is_matrix(A)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.