The ergm package supports the statistical analysis and simulation of network data. It anchors statnet suite packages for in R introduced a special issue Journal Statistical Software 2008. This article provides an overview new functionality 2021 release version 4. These include more flexible handling nodal covariates, term operators that extend simplify model specification, models networks with ...