to.edgelist function

fastnet to edgelist

fastnet to edgelist

Coerce a fastnet object to edgelist.

to.edgelist(network, ncores)

Arguments

  • network: A fastnet object.
  • ncores: The number of cores to be used.

Returns

A 2-column list with each row representing an edge, from source to destination

Examples

## Not run: g <- net.erdos.renyi.gnp(100, 0.1) el <- to.edgelist(g) ## End(Not run)

Author(s)

Xu Dong

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

Useful links