simulate_vcergm: Simulate new networks at each time point

Description Usage Arguments

View source: R/simulate_vcergm.R

Description

Simulate new networks at each time point

Usage

1
2
3
simulate_vcergm(object, attr = NULL, num.nodes.K, phi = NULL,
  phicoef = NULL, B = NULL, nsim = 100, MCMC.burnin = 10000,
  MCMC.interval = 1000, seed = 123, directed = c(TRUE, FALSE))

Arguments

object

A formula object of the form (network object) ~ <model terms>. Model terms take the same form of ERGM terms from R package 'ergm'.

attr

Node-specific attributes. Default is NULL.

num.nodes.K

Number of nodes at each time point (K x 1 vector)

phi

TRUE phi(t) functions (number of network statistics x K vector)

phicoef

TRUE basis coefficients (p x q matrix)

B

A set of basis functions (K x q matrix)

nsim

Number of simulated networks. Default is 100.

MCMC.burnin

MCMC burnin sample size. Default is 10000.

MCMC.interval

Interval between selected networks. Default is 1000. The first simulated network is the (MCMC.burnin + MCMC.interval). Thereafter, every (MCMC.interval)th network will be sample.

seed

Seed number used to simulate networks. Default is 123.

directed

TRUE for analyzing directed networks. FALSE for analyzing undirected networks.


jihuilee/VCERGM documentation built on Oct. 9, 2019, 5:23 p.m.