Simulate scalefree networks

Share:

Description

Simulate scale free networks for predefined number of members for each of two groups and a parameter pclus that determines how strictly distinct the groups are

Usage

1
simulate_network_scalefree(nmemb, pclus = 1)

Arguments

nmemb

Vector of numbers of members per group

pclus

Scalar in [0, 1] determining how strictly distinct groups are

Value

Adjacency matrix

Author(s)

Fabian Schmich

Examples

1
network <- simulate_network_scalefree(nmemb = c(10, 10), pclus = 0.8)