simulate.hergm | R Documentation |
The function simulate.hergm
accepts an object of class hergm
as argument and simulates networks.
## S3 method for class 'hergm' simulate(object, nsim = 1, seed = NULL, max_number = NULL, indicator = NULL, eta = NULL, sample_size = 1, verbose = 0, ...)
object |
either object of class |
nsim |
redundant, but ensures that the |
seed |
redundant, but ensures that the |
max_number |
maximum number of blocks. |
indicator |
indicators of block memberships of nodes. |
eta |
|
sample_size |
number of networks to be simulated. |
verbose |
if |
... |
additional arguments, to be passed to lower-level functions in the future. |
The function simulate.hergm
returns the simulated networks in the form of edge lists.
Schweinberger, M. and P. Luna (2018). HERGM: Hierarchical exponential-family random graph models. Journal of Statistical Software, 85, 1–39.
hergm, ergm.terms, hergm.terms, gof.hergm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.