Skip to content

mlergm

Multilevel Exponential-Family Random Graph Models

v0.8.1 · May 22, 2025 · GPL-3

Description

Estimates exponential-family random graph models for multilevel network data, assuming the multilevel structure is observed. The scope, at present, covers multilevel models where the set of nodes is nested within known blocks. The estimation method uses Monte-Carlo maximum likelihood estimation (MCMLE) methods to estimate a variety of canonical or curved exponential family models for binary random graphs. MCMLE methods for curved exponential-family random graph models can be found in Hunter and Handcock (JCGS, 2006). The package supports parallel computing, and provides methods for assessing goodness-of-fit of models and visualization of networks.

Downloads

CRAN

655

Last 30 days

4958th

2K

Last 90 days

8.3K

Last year

Trend: +5.1% (30d vs prior 30d)

r2u CRAN

9

Last 30 days

23

Last 90 days

93

Last year

Trend: -35.7% (30d vs prior 30d)

autoCRAN

5

Last 7 days

22

Last 30 days

3

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Packages required but not available: 'ergm', 'GGally', 'sna'

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies ergm network Matrix stringr GGally ggplot2 cowplot reshape2 plyr lpSolve sna statnet.common mlergm

Version History

10 tracked
new 0.8.1 Mar 10, 2026
updated 0.8.1 ← 0.8 diff May 21, 2025
updated 0.8 ← 0.7 diff Aug 22, 2021
updated 0.7 ← 0.6 diff Nov 16, 2020
updated 0.6 ← 0.5 diff Jul 2, 2020
updated 0.5 ← 0.4 diff Jan 8, 2020
updated 0.4 ← 0.3 diff Nov 3, 2019
updated 0.3 ← 0.2 diff Sep 20, 2019
updated 0.2 ← 0.1 diff May 14, 2019
new 0.1 Dec 2, 2018