from.statnet: 'statnet' to 'fastnet'

Description Usage Arguments Value Author(s) Examples

View source: R/from.statnet.R

Description

Import a statnet object.

Usage

1
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

1
2
3
4
5
6
7
## Not run: 
library("ergm")
library("doParallel")
data("flo")
nflo <- network(flo, loops = TRUE)
fflo <- from.statnet(nflo)
## End(Not run)

fastnet documentation built on Jan. 13, 2021, 5:28 p.m.