model.sw: Simulate network via small world model

Description Usage Arguments Value

View source: R/models.R

Description

Simulate network via small world model

Usage

1
model.sw(p = 300, dim = 1, nei = 3, rw.prob = 0.05, ...)

Arguments

p

The number of vertices in the graph

dim

The dimension of the starting lattice

nei

The neighborhood within which the vertices of the lattice will be connected

rw.prob

The probability for rewiring

...

Additional arguments passed to /codeigraph::sample_smallworld

Value

An igraph object


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