| network.list | R Documentation |
network objects, output
by simulate.ergm() among others.A convenience container for a list of network objects, output
by simulate.ergm() among others.
network.list(object, ...)
## S3 method for class 'network.list'
print(x, stats.print = FALSE, ...)
## S3 method for class 'network.list'
summary(
object,
stats.print = TRUE,
net.print = FALSE,
net.summary = FALSE,
...
)
object, x |
a |
... |
for |
stats.print |
Logical: If TRUE, print network statistics. |
net.print |
Logical: If TRUE, print network overviews. |
net.summary |
Logical: If TRUE, print network summaries. |
print(network.list): A print() method for network lists.
summary(network.list): A summary() method for network lists.
Functions from the simulate.ergm() family can also return
lists of lists of networks. In this case, they have an additional
class "network.list.list". At this time, it only affects
printing.
simulate.ergm()
# Draw from a Bernoulli model with 16 nodes
# and tie probability 0.1
#
g.use <- network(16, density=0.1, directed=FALSE)
#
# Starting from this network let's draw 3 realizations
# of a model with edges and 2-star terms
#
g.sim <- simulate(~edges+kstar(2), nsim=3, coef=c(-1.8, 0.03),
basis=g.use, control=control.simulate(
MCMC.burnin=100000,
MCMC.interval=1000))
print(g.sim)
summary(g.sim)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.