asymmetric.preference.game() was renamed to sample_asym_pref() to create a more
consistent API.
Arguments
- nodes
The number of vertices in the graphs.
- types
The number of different vertex types.
- type.dist.matrix
The joint distribution of the in- and out-vertex types. The default
NULLgives a uniform distribution.- pref.matrix
A square matrix giving the preferences of the vertex types. The matrix has ‘types’ rows and columns. When generating an undirected graph, it must be symmetric. The default
NULLsets all preferences to one.- loops
Logical, whether self-loops are allowed in the graph.
