generate.dynamic.network {incgraph}R Documentation

Generate a dynamic network

Description

Generate a dynamic network

Usage

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

# 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)

[Package incgraph version 1.0.1 Index]