simulate_network_scalefree: Simulate scalefree networks

Description Usage Arguments Value Author(s) Examples

View source: R/netprioR-simulation.R

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)

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