from.igraph: Transform Network from 'igraph' to 'fastnet' Format

Description Usage Arguments Details Value Author(s) Examples

Description

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

Usage

1
from.igraph(net.igraph)

Arguments

net.igraph

The input igraph object.

Details

Masked from igraph::as_adj_list.

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)

networkgroupR/fastnet documentation built on May 23, 2019, 1:32 p.m.