View source: R/InitErgmTerm.multinet.R
Networks | R Documentation |
A function for specifying the LHS of a multi-network
(a.k.a. multilevel) ERGM. Typically used in conjunction with the
N()
term operator.
Networks(...)
... |
network specification, in one of two formats:
|
A network object with multinetwork metadata.
Help on model specification for specific terms
vignette("Goeyvaerts_reproduction")
for a demonstration
data(samplk)
# Method 1: list of networks
monks <- Networks(list(samplk1, samplk2))
ergm(monks ~ N(~edges))
# Method 2: networks as arguments
monks <- Networks(samplk1, samplk2)
ergm(monks ~ N(~edges))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.