model.mpa: Simulate network via modular preferential attachment model

Description Usage Arguments Value

View source: R/models.R

Description

Simulate network via modular preferential attachment model

Usage

1
2
3
4
5
6
7
8
9
model.mpa(
  p = 300,
  m = 6,
  q.hub = 0.95,
  m.links = 6,
  power = 1.7,
  z.appeal = 1,
  ...
)

Arguments

p

The number of vertices in the graph

m

The number of modules

q.hub

The quantile for degree cutoff for defining modular hubs

m.links

The number of links between modules

power

The power of the preferential attachment

z.appeal

The attractiveness of the vertices with no adjacent edges

...

Additional arguments passed to /codeigraph::sample_pa

Value

An igraph object


montilab/shine documentation built on May 20, 2021, 4:22 p.m.