This repository contains the source code of the Exponential-family Random Graph Models [ERGM] materials presented during the 1st Chilean Summer School about Social Network Research. Although you are welcome to explore the repository, the contents were designed to be viewed on the website: https://gvegayon.github.io/chisocnet-ss2024.