A wrapper around igraph::sample_pa()

plotNET_BA(n = 100, pwr = 1, out.dist = NULL, doPlot = TRUE)

Arguments

n

Number of vertices

pwr

Power of preferential attachment

out.dist

Degree distribution

doPlot

Plot the igraph object

Value

A Barabasi scale-free igraph object

See also