Learn R Programming

ergm (version 3.8.0)

summary.network.list: Summarizing network.list objects

Description

summary and print methods for class network.list.

Usage

# S3 method for network.list
summary(object, 
                               stats.print=TRUE, 
                               net.print=FALSE, 
                               net.summary=FALSE,
                               …)
               
  # S3 method for network.list
print(x, stats.print=FALSE, …)

Arguments

object, x

an object of class network.list, such as the output from simulate.ergm

stats.print

Logical: If TRUE, print network statistics.

net.print

Logical: If TRUE, print network overviews.

net.summary

Logical: If TRUE, print network summaries.

Additional arguments to be passed to lower-level functions.

Value

The summary.network.list function returns a summary.network object. The print.summary.list function calls the summary.network.list function but returns the network.list object.

See Also

simulate.ergm

Examples

Run this code
# NOT RUN {
# 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)
# }

Run the code above in your browser using DataLab