rg_tm {tnet}R Documentation

Random binary and weighted two-mode network

Description

Creates random binary and weighted two-mode networks

Usage

rg_tm(ni=100,np=100,ties=300,max.weight=1,seed=NULL)

Arguments

ni Number of nodes in the first set
np Number of nodes in the second set
ties Number of ties
max.weight Max weight (see rg_w), if set to 1 a binary network is produced.
seed the random seed. If you want it to be non-reproducable, use NULL otherwise, use a number

Value

Returns a random two-mode network

Note

version 1.0.0

Author(s)

Tore Opsahl; http://toreopsahl.com

References

Opsahl, T., 2009. Clustering in Two-mode Networks.

Examples

## Run the programme
rg_tm(ni=10,np=10,ties=20,max.weight=1,seed=NULL)


[Package tnet version 0.1.2 Index]