Learn R Programming

ergm (version 3.8.0)

print.ergm: Exponential Random Graph Models

Description

print.ergm is the method used to print an ergm object created by the ergm function.

Usage

# S3 method for ergm
print(x, digits = max(3, getOption("digits") - 3), …)

Arguments

x

An ergm object. See documentation for ergm.

digits

Significant digits for coefficients

Additional arguments, to be passed to lower-level functions in the future.

Value

The value returned is the ergm object itself.

Details

Automatically called when an object of class ergm is printed. Currently, print.ergm summarizes the size of the MCMC sample, the theta vector governing the selection of the sample, and the Monte Carlo MLE.

See Also

network, ergm

Examples

Run this code
# NOT RUN {
 data(florentine)

 x <- ergm(flomarriage ~ density)
 class(x)
 x
# }

Run the code above in your browser using DataLab