plotNET_SW: Example of Strogatz-Watts small-world network

View source: R/plotFUN.R

plotNET_SWR Documentation

Example of Strogatz-Watts small-world network

Description

A wrapper around igraph::sample_smallworld() with dim=1

Usage

plotNET_SW(n = 100, k = 5, p = 0.05, doPlot = TRUE)

Arguments

n

Size of the lattice (integer)

k

Neighbourhood size (integer)

p

Rewiring probability (between 0 and 1)

doPlot

PLot the igraph object

Value

A Strogatz-Watts small-world igraph object

See Also

igraph::sample_smallworld()

Other tools for plotting networks: plotNET_BA(), plotNET_groupColour(), plotNET_groupWeight(), plotNET_prep()


FredHasselman/casnet documentation built on May 5, 2024, 9:38 p.m.