from.igraph function

Transform an igraph object to a fastnet object

Transform an igraph object to a fastnet object

Transform an igraph object to an ego-centric list form used in fastnet.

from.igraph(net.igraph)

Arguments

  • net.igraph: The input igraph object.

Returns

A list containing the nodes of the network and their respective neighbors.

Examples

## Not run: library("igraph") net.igraph <- erdos.renyi.game(100,0.1) g <- from.igraph(net.igraph) ## End(Not run)

Author(s)

Xu Dong.

  • Maintainer: Nazrul Shaikh
  • License: GPL (>= 2)
  • Last published: 2020-12-01

Useful links