Create an network object from an adjacencylist
Arguments
- adjacencylist
a list of vectors containing the neighbours of each node. Same format as return value of
network_adjacencylist.- is_undirected
TRUEif the network is supposed to be undirected, i.e. contains a link from \(i\) to \(j\) exactly if it contains a link from \(j\) to \(i\).- above_diagonal
set to
TRUEif the network is undirected and the adjacencylist only contains edges \(i,j\) with \(i \leq j\), i.e. represent the upper triangular submatrix of the adjacency matrix. Defaults toTRUEfor undirected networks.