The xergm package implements eXtensions for Exponential Random Graph Models (ERGM), in particular temporal ERGMs via bootstrapped pseudolikelihood (btergm package), generalized ERGMs for value-edged networks (GERGM package), the temporal network autocorrelation model (tnam package), the relational event model (rem package), and helper functions and datasets in the xergm.common package.