check_adjacency_cpp: C++ implementation to check if a matrix is an adjacency...

Description Usage Arguments Value

View source: R/RcppExports.R

Description

C++ implementation to check if a matrix is an adjacency matrix

Usage

1

Arguments

m

A matrix to check.

Value

Returns 0 if the matrix is an adjacency matrix. If the matrix is not square, returns 1; if the diagonal entries are not all zero, returns 2; if the matrix is not symmetric, returns 3; if the matrix contains values other than 0 or 1, returns 4.


SeqNet documentation built on July 9, 2021, 9:08 a.m.