from.statnet function

statnet to fastnet

statnet to fastnet

Import a statnet object.

from.statnet(net.statnet, ncores = detectCores())

Arguments

  • net.statnet: The input statnet object.
  • ncores: The number of cores to be used.

Returns

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

Examples

## Not run: library("ergm") library("doParallel") data("flo") nflo <- network(flo, loops = TRUE) fflo <- from.statnet(nflo) ## End(Not run)

Author(s)

Xu Dong

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

Useful links