net.complete function

Complete Network

Complete Network

Simulate a complete (or full) network.

net.complete(n, ncores = detectCores())

Arguments

  • n: Number of nodes of the network.
  • ncores: Number of cores, by default detectCores() from parallel.

Returns

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

Details

The n nodes in the network are fully connected.

Note that the input n should not excess 10000, for the sake of memory overflow.

Examples

## Not run: x <- net.complete(1000) #using ncores by default ## End(Not run)

Author(s)

Xu Dong, Nazrul Shaikh.

  • Maintainer: Nazrul Shaikh
  • License: GPL (>= 2)
  • Last published: 2020-12-01

Useful links