stergm.sim.1: Very Very Basic stergm simulation output

stergm.sim.1R Documentation

Very Very Basic stergm simulation output

Description

Simulation from a crude stergm model based on the flobusiness network. Mostly good for testing movies 'cause it is small (16 vertices) and fast. The stergm.sim.1 network is 100 simulation steps in duration. The short.stergm.sim network is an extract of the first 25 steps of stergm.sim.1 – its shorter duration makes it more suitable for quickly testing animation techniques.

Usage

data(stergm.sim.1)
data(short.stergm.sim)

Format

A networkDynamic object containing the output of the network simulations

Details

The model used to generate the sim was:

require(ergm)
data("florentine")
theta.diss <- log(9)
# fit the model
stergm.fit.1 <- stergm(flobusiness, 
  formation= ~edges+gwesp(0,fixed=T),
  dissolution = ~offset(edges),
	targets="formation",
	offset.coef.diss = theta.diss,
	estimate = "EGMME"	)
# simulate from the model	
stergm.sim.1 <- simulate(stergm.fit.1,
                    nsim=1, time.slices = 100)

However, the ergm-related output that would normally be attached to the network (toggles, etc) has been removed.

Source

See tergm package tutorials.

Examples

data(stergm.sim.1)
range(get.change.times(stergm.sim.1))
data(short.stergm.sim)
range(get.change.times(short.stergm.sim))


ndtv documentation built on July 4, 2024, 5:08 p.m.