Publication-Ready Tables and Summaries for Exponential-Family Random Graph Models
Overview
Creates publication-ready tables documenting exponential-family random graph models (ERGMs), a class of statistical models for social networks (Robins et al., 2007, doi:10.1016/j.socnet.2006.08.002). Tables describe model terms through their definitions, mathematical representations, and graphical representations, and can be generated from ERGM formulas or from models fitted with the 'ergm' package (Hunter et al., 2008, doi:10.18637/jss.v024.i03). Resulting tables can be integrated into 'quarto' and 'rmarkdown' documents.
User-facing changes
- Audited term citations: each term now lists the paper that introduced it as an ERGM/p* statistic first (e.g. Wasserman and Pattison 1996 for
nodematch), followed by at most one theory reference (#38). - Fixed incorrect citation identifiers for
b1nodematch/b2nodematchand in theparse_ergm_model()/parse_ergm_formula()documentation (#38). edges,nodemix,edgecov,istar,ostar,gwb1dsp, andgwb2dspnow carry citations; directedtriangleand the bipartite and directed geometrically weighted terms cite their directed or bipartite sources (#38).- Markdown figure files are named after the bare term, no longer picking up citation markers such as
triangle-frank1986.png(#38). - Added 14 terms to the term dictionary:
gwidegree,gwodegree,gwb1degree,gwb2degree,nodeifactor,nodeofactor,kstar,istar,ostar,isolates,degree,concurrent,dgwesp, anddgwdsp(#37).
Show all changes in 0.2.0Hide the rest of the changes in 0.2.0
- The
gwdegreeandaltkstardrawings now follow the color and size legend (#37). - Term YAML files can reuse another term's entry with
alias: <term>, overriding individual fields as needed;dgwespanddgwdspare now aliases ofgwespandgwdsp(#37). - Term drawings can include isolated nodes: a lone node id in the YAML
edgelist(e.g."1->2, 0") adds a node with no ties (#37). - Fixed a crash rendering a styled Markdown table (
with_style_name_over_formula()) with a Windows-stylefigures_dir;figures_diris now also validated when the table is built rather than when it is first rendered (#35). - Fixed spurious
ergmversion-compatibility warnings when tabulating a fitted model (#35). - Fitted-model tables round estimates and standard errors to 2 decimal places by default and format p-values to match, showing values below the display precision as
<0.01; control this withdigits(#34, #37). with_style_name_over_formula()gained persistentcolumn_widthsandfigure_heightsettings, honored across HTML, Markdown, previews, and saved LaTeX (#34).- Fixed equations in compact Markdown tables so GitHub and other renderers do not receive double-escaped inequality operators inside TeX math (#30).
- Added composable table styles:
with_style_name_over_formula()stacks curated titles over formulae with figures in a compact column;with_style_plain()restores the default layout (#30). - Formula tables now honor
include_description = FALSE(#30). - Term YAML files gained optional
title,description, andcitationfields; all shipped terms now carry curated text instead of falling back to theergmdatabase's (#24). - Tables gained a
titlecolumn (include_title = TRUE);descriptionnow holds prose instead of the shortergmtitle (#24). - Added
override/override.*arguments totabulergm_table(),parse_ergm_model(), andparse_ergm_formula()for replacing any metadata field per term or per coefficient (#24). - Cited terms now show a
(key)marker with the matching reference listed below the table (#24). - Fixed an incorrect arXiv identifier in
?"tabulergm-notation": 1412.1151 was cited for Bomiriya et al. (2014) but belongs to an unrelated paper (#24).
Internal changes
- Added CRAN, download, license, and dependency badges to the README.
- The please-bump check now also verifies that
NEWS.mdmatchesDESCRIPTION. - Tests now drive the exported API instead of internal helpers, cutting the suite by about 500 lines with no loss of coverage (#38).
From NEWS.md in the release
Install
Health
- OK13 OKNow
- OK7 OK2026-08-22
Documentation
- Help pages
- 12 (2 internal)includes a package overview page
- Examples that run
- 100%9 run in a plain check (1 of them under a condition)
- Exported functions with examples
- 90%
- Documented parameters
- 88%
- Return-value docs
- 100%
- Help pages citing references
- 8%
Downloads
Repository
- PRs merged (all time)
- 96%
- Median days to close, 50 most recently updated closed issues
- 1
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Releases over time
Issues over time
Commits over time
14 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/gvegayon/tabulergm on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
The repository owner accepts GitHub Sponsors
GitHub Pages site last deployed 2026-10-07 · The repository has a site deploy workflow
Show all practicesHide 3 practices
This repository shows signs of AI coding tools.
- GitHub Copilotfirst seen 2026-03-13Seen in the repository: .github/workflows/copilot-setup-steps.ymlPull request: opened by its own accountCommits: 10 by its own account · at least 10 crediting it in the message
- Claude Codefirst seen 2026-07-08Pull request it wrote: opened by a project memberCommits: at least 10 crediting it in the message
- Codexfirst seen 2026-07-22Commits: at least 3 crediting it in the message
- Claude Fable 53 commits · Jul to Aug 2026
- Claude Opus 5.53 commits · Sep to Oct 2026
- Claude Opus 52 commits · Aug 2026
- Claude Sonnet 52 commits · Sep 2026
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.2.0Latest2026-10-07 · current release · diff ↗ ·
added 2 exports
with_style_name_over_formula, with_style_plain - 0.1.02026-08-21
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-08-21
- Total releases
- 2 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.2
- Download size
- 1.0 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("tabulergm")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
The repository also keeps a CITATION.cff.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.