model.sw.RdSimulate network via small world model
model.sw(p = 300, dim = 1, nei = 3, rw.prob = 0.05, ...)
| 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 | 
An igraph object