Validate an adjacency list
Usage
.dgraphs.validate.adj.list(adj.list, allow.empty = FALSE)
Arguments
- adj.list
A list of 1-based integer or numeric neighbor vectors.
- allow.empty
Logical; if FALSE, require at least one vertex.
Value
The normalized adjacency list with integer neighbor vectors.