Simulate network via small world model

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