The statnet suite of R packages contains a wide range of functionality for the statistical analysis of social networks, including the implementation of exponential-family random graph (ERG) models. In this paper we illustrate some of the functionality of statnet through a tutorial analysis of a friendship network of 1,461 adolescents.
Goodreau SM, Handcock MS, Hunter DR, Butts CT, Morris M. (2008). A statnet Tutorial. Journal of statistical software, 24(9)