adjList | R Documentation |
Get adjacency list of edges
adjList(edges, n, directed = FALSE, transpose = FALSE)
revAdjList(edges)
symAdjList(edges, unq = TRUE)
edges |
list or matrix giving edges in the form of an
|
n |
total number of vertices (defaults to maximum value) |
directed |
logical: if |
transpose |
logical: if |
unq |
logical: should values be made unique and sorted? |
Stores adjacencies by one of their vertices. E.g. directed edges are stored indexed by the child vertex, undirected by both neighbours.
revAdjList()
: Get reverse directions for edges
symAdjList()
: Make adjList symmetric
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.