Learn R Programming

incgraph (version 1.0.3)

generate.dynamic.network: Generate a dynamic network

Description

Generate a dynamic network

Usage

generate.dynamic.network(
  model, amnt.nodes, amnt.edges, amnt.operations, trace = TRUE, ...)

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

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

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

Value

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

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

Examples

Run this code
# 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)

Run the code above in your browser using DataLab