Simulate random networks with predefined number of members for each of the two groups and the number of neighbours for each node

Share:

Description

Simulate random networks with predefined number of members for each of the two groups and the number of neighbours for each node

Usage

1
simulate_network_random(nmemb, nnei = 1)

Arguments

nmemb

Vector of number of members for each group

nnei

Number of neighbours for each node

Value

Adjacency matrix of graph

Author(s)

Fabian Schmich

Examples

1
network <- simulate_network_random(nmemb = c(10, 10), nnei = 1)