citing.cited.type.game {igraph} | R Documentation |
Random citation graphs
Description
citing.cited.type.game()
was renamed to sample_cit_cit_types()
to create a more
consistent API.
Usage
citing.cited.type.game(
n,
edges = 1,
types = rep(0, n),
pref = matrix(1, nrow = length(types), ncol = length(types)),
directed = TRUE,
attr = TRUE
)
Arguments
n |
Number of vertices. |
edges |
Number of edges per step. |
types |
Vector of length ‘ |
pref |
Vector ( |
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 ‘ |
[Package igraph version 2.0.3 Index]