simulate_network_random: Simulate random networks with predefined number of members...

Description Usage Arguments Value Author(s) Examples

View source: R/netprioR-simulation.R

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)

netprioR documentation built on Nov. 8, 2020, 5:40 p.m.