generate.dynamic.network: Generate a dynamic network

Description Usage Arguments Value Examples

Description

Generate a dynamic network

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
generate.dynamic.network(
  model, amnt.nodes, amnt.edges, amnt.operations, trace = T, ...)

generate.geometric(amnt.nodes, amnt.edges, amnt.operations,
  amnt.dimensions = 3, trace = T)

generate.barabasialbert(amnt.nodes, amnt.edges, amnt.operations,
  offset.exponent = 1, trace = T)

generate.erdosrenyi(amnt.nodes, amnt.edges, amnt.operations, trace = T)

Arguments

model

The network model with which to generate the network; "BA" for Barabási–Albert, "ER" for Erdős–Rényi, or "GEO" for geometric

amnt.nodes

the number of nodes in the network at any given type

amnt.edges

the number of edges in the network at any given type

amnt.operations

the number of edge additions/deletions to generate

trace

will print output text if TRUE

...

extra parameters to pass to a specific network generator

amnt.dimensions

(only GEO) the number of dimensions in which to operate

offset.exponent

(only BA) the offset exponent for the weighted sampling

Value

A list containing the starting network network and the dynamic operations peformed on it operations.

Examples

1
2
3
# dyn.net.ba <- generate.dynamic.network("BA", 300, 300, 1000)
dyn.net.er <- generate.dynamic.network("ER", 300, 300, 1000)
dyn.net.geo <- generate.dynamic.network("GEO", 300, 300, 1000)

Example output

Ops progress: 0/1000
Ops progress: 548/1000

incgraph documentation built on May 2, 2019, 3:48 p.m.