powered by
Simulate a complete (or full) network.
net.complete(n, ncores = detectCores())
Number of nodes of the network.
Number of cores, by default detectCores() from parallel.
detectCores()
parallel
A list containing the nodes of the network and their respective neighbors.
The n nodes in the network are fully connected.
Note that the input n should not excess 10000, for the sake of memory overflow.
# NOT RUN { x <- net.complete(1000) #using ncores by default # }
Run the code above in your browser using DataLab