Description Usage Arguments Value Author(s)
Creates a random network with the specified number of nodes and links.
1 | createRandomNetwork(nv, ne, weights = rep(1, ne), bDirected = FALSE)
|
nv |
Number of nodes (vertices). |
ne |
Number of edges (links). |
weights |
Weight of links (vector of length |
bDirected |
Whether to make the matrix symmetrical (i.e. biderectional links). |
Adjacency matrix. Non-zero element adjMat[i, j]
indicates the weight of the link between nodes i
and j
.
Mikhail Churakov
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.