Skip to content

ergMargins

1.6.2Package record

Process Analysis for Exponential Random Graph Models

1packages depend
7.5Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Calculates marginal effects and conducts process analysis in exponential family random graph models (ERGM). Includes functions to conduct mediation and moderation analyses and to diagnose multicollinearity. URL: https://github.com/sduxbury/ergMargins. BugReports: https://github.com/sduxbury/ergMargins/issues. Duxbury, Scott W (2021) doi:10.1177/0049124120986178. Long, J. Scott, and Sarah Mustillo (2018) doi:10.1177/0049124118799374. Mize, Trenton D. (2019) doi:10.15195/v6.a4. Karlson, Kristian Bernt, Anders Holm, and Richard Breen (2012) doi:10.1177/0081175012444861. Duxbury, Scott W (2018) doi:10.1177/0049124118782543. Duxbury, Scott W, Jenna Wertsching (2023) doi:10.1016/j.socnet.2023.02.003. Huang, Peng, Carter Butts (2023) doi:10.1016/j.socnet.2023.07.001.

Install

Health

CRAN checks
13OK
Slowest check: 2.4 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.6.2
READMENoVignettesNoNEWSYes · 33% structuredCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
9
Examples that run
11%1 run in a plain check · 8 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
89%

Downloads

7.5K
CRAN downloads in the past year
Rank #6,859 · ~21/day · ~625/mo
Daily download trend is not available in this view yet.
52630 days
1.2K90 days
7.5K1 year
Compare downloads with other packages →
Also on89 r2u9 autocran

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)

Installing ergMargins adds 49 packages (29 with compiled code, 37 MB of source tarballs). Heaviest: stringi 11 MB, igraph 4.8 MB, gplots 4.6 MB.

Depends (0)
none
Imports (10)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Depends, Imports or LinkingTo, most downloaded first

People & History

People (1)
Author, Maintainer since 0.1.0 (2019), Copyright holder
Listed in earlier versions (2)
no longer listed · 0.1.0 to 0.1.1
no longer listed · 0.1.0 to 0.1.1
Releases (12)

Pick two releases to compare their code metrics.

  • 1.6.2Latest
    record
    2026-06-18 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.6.1
    record
    2025-09-13 · diff ↗
  • 1.6
    record
    2025-06-13 · diff ↗ ·
    added 1 export
    GW_helper
  • R
    R 4.5.0 released · 2025-04-11
  • 1.5
    record
    2025-04-04 · diff ↗ ·
    added 2 exports
    ergm.MSE, ergm.msma
  • 1.3
    record
    2024-05-08 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.2
    record
    2024-02-24 · diff ↗
  • 1.1
    record
    2023-11-12 · diff ↗
  • unarchivedReturned to CRAN
    2023-05-08
  • 0.1.3.1
    record
    2023-05-08 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • archivedRemoved from CRAN
    2023-03-31
    requires archived package 'btergm'
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.3
    record
    2021-06-30 · diff ↗
Show 10 earlier eventsHide 10 earlier events
  • R
    R 4.1.0 released · 2021-05-18
  • unarchivedReturned to CRAN
    2021-02-23
  • 0.1.2
    record
    2021-02-23 · diff ↗
  • archivedRemoved from CRAN
    2020-10-20
    requires archived package 'btergm'
  • unarchivedReturned to CRAN
    2020-05-22
  • 0.1.1
    record
    2020-05-22 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • archivedRemoved from CRAN
    2020-03-07
    depends on archived package 'btergm'
  • 0.1.0
    record
    2019-07-26
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2019-07-26
Total releases
12 / 7 yrs
License
GPL (>= 2) OSI
Download size
44 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("ergMargins")
Duxbury, S. (2026). ergMargins: Process Analysis for Exponential Random Graph Models (Version 1.6.2) [Computer software]. https://doi.org/10.32614/CRAN.package.ergMargins

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for ergMargins version 1.6.2 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy