Description Usage Arguments Value Note Author(s) References Examples
Creates classical random binary and weighted two-mode networks
1 |
ni |
Number of nodes in the first set |
np |
Number of nodes in the second set |
ties |
Number of ties; if this value is between 0 and 1, a random network where each tie is based on this probability will be produced |
weights |
A tie weight vector to be randomly sampled. If set to 1 (default), all tie weights will be 1, and hence a binary two-mode network will be created. |
seed |
the random seed. If you want it to be non-reproducable, use NULL otherwise, use a number |
Returns a random two-mode network
version 1.0.0
Tore Opsahl; http://toreopsahl.com
Tore Opsahl. Triadic closure in two-mode networks: Redefining the global and local clustering coefficients. arXiv:1006.0887
1 2 | ## Run the programme
rg_tm(ni=10,np=10,ties=20)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.