ergm: Fit, Simulate and Diagnose Exponential-Family Models for Networks

An integrated set of tools to analyze and simulate networks based on exponential-family random graph models (ERGMs). 'ergm' is a part of the Statnet suite of packages for network analysis. See Hunter, Handcock, Butts, Goodreau, and Morris (2008) <doi:10.18637/jss.v024.i03> and Krivitsky, Hunter, Morris, and Klumb (2023) <doi:10.18637/jss.v105.i06>.

Version: 4.6.0
Depends: R (≥ 4.1), network (≥ 1.18.0)
Imports: robustbase (≥ 0.93.7), coda (≥ 0.19.4), trust (≥ 0.1.8), Matrix (≥ 1.3.2), lpSolveAPI (≥, MASS (≥, statnet.common (≥ 4.9.0), rle (≥ 0.9.2), purrr (≥ 0.3.4), rlang (≥ 0.4.10), memoise (≥ 2.0.0), tibble (≥ 3.1.0), magrittr (≥ 2.0.1), Rdpack (≥ 2.4), parallel, methods, knitr, stringr
Suggests: lattice (≥ 0.20.41), latticeExtra (≥ 0.6.29), sna (≥ 2.6), rmarkdown, testthat (≥ 3.0.2), ergm.count (≥ 4.0), withr, covr, Rglpk, slam, networkLite
Published: 2023-12-18
DOI: 10.32614/CRAN.package.ergm
Author: Mark S. Handcock [aut], David R. Hunter [aut], Carter T. Butts [aut], Steven M. Goodreau [aut], Pavel N. Krivitsky ORCID iD [aut, cre], Martina Morris [aut], Li Wang [ctb], Kirk Li [ctb], Skye Bender-deMoll [ctb], Chad Klumb [ctb], MichaƂ Bojanowski ORCID iD [ctb], Ben Bolker [ctb], Christian Schmid [ctb], Joyce Cheng [ctb], Arya Karami [ctb]
Maintainer: Pavel N. Krivitsky <pavel at>
License: GPL-3 + file LICENSE
NeedsCompilation: yes
SystemRequirements: OpenMPI
Citation: ergm citation info
Materials: NEWS
In views: GraphicalModels
CRAN checks: ergm results


Reference manual: ergm.pdf
Vignettes: API for Callback Functions for Network and WtNetwork Structures
API for MCMC Proposal Selection
API for ergm Terms
ERGM terms cross-reference
Introduction to Exponential-family Random Graph Models with ergm
Nodal Attribute Specification in ERGM Terms


Package source: ergm_4.6.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): ergm_4.6.0.tgz, r-oldrel (arm64): ergm_4.6.0.tgz, r-release (x86_64): ergm_4.6.0.tgz, r-oldrel (x86_64): ergm_4.6.0.tgz
Old sources: ergm archive

Reverse dependencies:

Reverse depends: Bergm, bigergm, dnr, ergm.count, ergm.ego, ergm.multi, ergm.rank, ergmgp, latentnet, mlergm, nemBM, statnetWeb, tergm, tergmLite, VBLPCM, xergm.common
Reverse imports: BFpack, btergm, EpiModel, ergMargins, ergmito, fergm, netmediate, RDS, statnet
Reverse linking to: EpiModel, ergm.count, ergm.ego, ergm.multi, ergm.rank, ergmgp, tergm, tergmLite
Reverse suggests: broom, lolog, motifr, ndtv, NetMix, sand, tsna
Reverse enhances: stargazer, texreg


Please use the canonical form to link to this page.