View source: R/simulate_vcergm.R
Simulate new networks at each time point
1 2 3 |
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.