from.igraph: Transform an 'igraph' object to a 'fastnet' object

Description Usage Arguments Value Author(s) Examples

View source: R/from.igraph.R

Description

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

Usage

1
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

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

fastnet documentation built on Jan. 13, 2021, 5:28 p.m.

Related to from.igraph in fastnet...