connectivity.matrix.from.edge.list: Convert an edge list to a connectivity matrix.
Description
Convert an edge list to a connectivity matrix.
Usage
connectivity.matrix.from.edge.list(edge_list)
Value
named list with entries 'matrix' (the connectivity matrix) and 'names' (the node names).
Arguments
- edge_list
data.frame with the columns 'source', 'target' and 'weight'.