error_matrix: Errors related to matrices

View source: R/error_matrix.R

error_matrixR Documentation

Errors related to matrices

Description

check if the input is a square adjacency matrix or a list of squares adjacency matrices.

Usage

error_matrix(M)

Arguments

M

a square adjacency matrix or a list of square adjacency matrices

Details

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.

Value

Nothing if M is a square adjacency matrix or a list of square adjacencies matrices.

Author(s)

Sebastian Sosa, Ivan Puga-Gonzalez.


ANTs documentation built on July 3, 2022, 1:05 a.m.

Related to error_matrix in ANTs...