igraph_to_network {snowboot} | R Documentation |
This function converts an igraph object to an object compatible with snowboot functions.
igraph_to_network(in_graph)
in_graph |
An igraph object. To create igraph objects from field data,
see |
A list that contain elements:
edges |
The edgelist of the network. A two column
|
degree |
The degree sequence of the network, which is
an |
n |
The network order. |
hex_ring <- igraph::make_ring(6, directed = FALSE, mutual = FALSE, circular = TRUE)
net <- igraph_to_network(hex_ring)