citing.cited.type.game() was renamed to sample_cit_cit_types() to create a more
consistent API.
Arguments
- n
Number of vertices.
- edges
Number of edges per step.
- types
Vector of length ‘
n’, the types of the vertices. Types are numbered from zero.- pref
Vector (
sample_last_cit()andsample_cit_types()or matrix (sample_cit_cit_types()) giving the (unnormalized) citation probabilities for the different vertex types.- directed
Logical scalar, whether to generate directed networks.
- attr
Logical scalar, whether to add the vertex types to the generated graph as a vertex attribute called ‘
type’.
