error_matrix | R Documentation |
check if the input is a square adjacency matrix or a list of squares adjacency matrices.
error_matrix(M)
M |
a square adjacency matrix or a list of square adjacency matrices |
tests if M is not a data frame and if M is a matrix and if it is a square matrix. If the input is a list then it check for all elements of the list if they are not a data frame and if they are a square adjacency matrix.
Nothing if M is a square adjacency matrix or a list of square adjacencies matrices.
Sebastian Sosa, Ivan Puga-Gonzalez.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.