from.igraph {fastnet}R Documentation

Transform an igraph object to a fastnet object

Description

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

Usage

from.igraph(net.igraph)

Arguments

net.igraph

The input igraph object.

Value

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

Author(s)

Xu Dong.

Examples

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

[Package fastnet version 1.0.0 Index]