from.statnet {fastnet}R Documentation

statnet to fastnet

Description

Import a statnet object.

Usage

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

Arguments

net.statnet

The input statnet object.

ncores

The number of cores to be used.

Value

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

Author(s)

Xu Dong

Examples

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

[Package fastnet version 1.0.0 Index]