statnet
to fastnet
statnet
to fastnet
Import a statnet
object.
from.statnet(net.statnet, ncores = detectCores())
net.statnet
: The input statnet
object.ncores
: The number of cores to be used.A list containing the nodes of the network and their respective neighbors.
## Not run: library("ergm") library("doParallel") data("flo") nflo <- network(flo, loops = TRUE) fflo <- from.statnet(nflo) ## End(Not run)
Xu Dong
Useful links