Learn R Programming

fastnet (version 1.0.0)

from.statnet: 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.

Examples

Run this code
# NOT RUN {
library("ergm")
library("doParallel")
data("flo")
nflo <- network(flo, loops = TRUE)
fflo <- from.statnet(nflo)
# }

Run the code above in your browser using DataLab