lastcit.game: Random citation graphs

View source: R/games.R

lastcit.gameR Documentation

Random citation graphs

Description

[Deprecated]

lastcit.game() was renamed to sample_last_cit() to create a more consistent API.

Usage

lastcit.game(
  n,
  edges = 1,
  agebins = n/7100,
  pref = (1:(agebins + 1))^-3,
  directed = TRUE
)

Arguments

n

Number of vertices.

edges

Number of edges per step.

agebins

Number of aging bins.

pref

Vector (sample_last_cit() and sample_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.


igraph/rigraph documentation built on May 19, 2024, 6:19 a.m.