Learn R Programming

ndtv (version 0.12.3)

stergm.sim.1: 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)

Arguments

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(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.

Examples

Run this code
# NOT RUN {
data(stergm.sim.1)
range(get.change.times(stergm.sim.1))
data(short.stergm.sim)
range(get.change.times(short.stergm.sim))

# }

Run the code above in your browser using DataLab