from.edgelist: Edgelist to 'fastnet'

Description Usage Arguments Details Value Author(s) Examples

Description

Transfer an edgelist to an ego-centric list form used in fastnet.

Usage

1
from.edgelist(edgelist)

Arguments

edgelist

The edge list, a vector with even number of entries.

Details

The n nodes are placed on a circle and each node is connected to the nearest k neighbors.

Value

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

Author(s)

Xu Dong, Christian Llano.

Examples

1
2
edgelist <- c(1, 3, 2, 3, 3, 4, 5, 6,5,7)
g <- from.edgelist(edgelist)

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