el2adj

0th

Percentile

Maps edgelist to adjacency matrix

Maps edgelist to adjacency matrix

Usage
el2adj(el, nodes = NULL)
Arguments
el

dataframe containing a (weighted) edgelist. Column 1 is the sender, column 2 is the receiver, column 3 the number of edges.

nodes

optional vector containing all node names in case disconnected nodes should be included.

Value

the (weighted) adjacency matrix corresponding the edgelist passed

Aliases
  • el2adj
Documentation reproduced from package ghypernet, version 1.0.0, License: AGPL-3

Community examples

Looks like there are no examples yet.