Learn R Programming

ergm (version 3.8.0)

summary.gofobject: Summaries the Goodness-of-Fit Diagnostics on a Exponential Family Random Graph Model

Description

summary.gofobject summaries the diagnostics such as the degree distribution, geodesic distances, shared partner distributions, and reachability for the goodness-of-fit of exponential family random graph models. See ergm for more information on these models.

Usage

# S3 method for gofobject
summary(object, …)

Arguments

object

an object of class gofobject, typically produced by the gof.ergm or gof.formula functions. See the documentation for these.

Additional arguments, to be passed to the plot function.

Value

none

Details

gof.ergm produces a sample of networks randomly drawn from the specified model. This function produces a print out the summary measures.

See Also

gof.ergm, gof.formula, ergm, network, simulate.ergm

Examples

Run this code
# NOT RUN {
#
data(florentine)
#
# test the gof.ergm function
#
gest <- ergm(flomarriage ~ edges + kstar(2))
gest
summary(gest)

#
# Plot the probabilities first
#
gofflo <- gof(gest)
gofflo
summary(gofflo)
# }

Run the code above in your browser using DataLab