ps_model: Generate a Popularity-Similarity network

Description Usage Arguments Value Author(s) References Examples

Description

Generates an artificial network following the Popularity-Similarity model proposed in [Papadopoulos et al. 2012, Nature 489(7417):537-40]. This implementation only considers the hyperbolic space curvature K = -(1^2).

Usage

1
ps_model(N = 500, avg.k = 10, gma = 2, Temp = 0)

Arguments

N

integer; The number of desired nodes for the network (default = 500).

avg.k

numeric; The target average node degree (default = 10).

gma

numeric; The target scaling exponent of the network's node degree distribution (default = 2).

Temp

numeric; The network temperature, controlling the target clustering coefficient (default = 0).

Value

List with the two following elements:

network

igraph object representation of the input network.

polar

Data frame containing elements r and theta, the radial and angular coordinates of the network nodes in hyperbolic space.

Author(s)

Gregorio Alanis-Lobato galanisl@uni-mainz.de

References

Papadopoulos, F. et al. (2012) Popularity versus similarity in growing networks. Nature 489(7417):537-40.

Examples

1
2
net.default <- ps_model()
net <- ps_model(100, 6, 2.5, 0.2)

galanisl/NetHypGeom documentation built on May 16, 2019, 5:36 p.m.